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

POGOProtos.Networking.Requests.Messages.StartRaidBattleMessageOuterClass Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: POGOProtos/Networking/Requests/Messages/StartRaidBattleMessage.proto

package POGOProtos.Networking.Requests.Messages;

public final class StartRaidBattleMessageOuterClass {
  private StartRaidBattleMessageOuterClass() {}
  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 StartRaidBattleMessageOrBuilder extends
      // @@protoc_insertion_point(interface_extends:POGOProtos.Networking.Requests.Messages.StartRaidBattleMessage)
      com.google.protobuf.MessageOrBuilder {

    /**
     * string gym_id = 1;
     */
    java.lang.String getGymId();
    /**
     * string gym_id = 1;
     */
    com.google.protobuf.ByteString
        getGymIdBytes();

    /**
     * int64 raid_seed = 2;
     */
    long getRaidSeed();

    /**
     * repeated int32 lobby_id = 4;
     */
    java.util.List getLobbyIdList();
    /**
     * repeated int32 lobby_id = 4;
     */
    int getLobbyIdCount();
    /**
     * repeated int32 lobby_id = 4;
     */
    int getLobbyId(int index);

    /**
     * repeated fixed64 attacking_pokemon_id = 5;
     */
    java.util.List getAttackingPokemonIdList();
    /**
     * repeated fixed64 attacking_pokemon_id = 5;
     */
    int getAttackingPokemonIdCount();
    /**
     * repeated fixed64 attacking_pokemon_id = 5;
     */
    long getAttackingPokemonId(int index);

    /**
     * double player_lat_degrees = 6;
     */
    double getPlayerLatDegrees();

    /**
     * double player_lng_degrees = 7;
     */
    double getPlayerLngDegrees();

    /**
     * double gym_lat_degrees = 8;
     */
    double getGymLatDegrees();

    /**
     * double gym_lng_degrees = 9;
     */
    double getGymLngDegrees();
  }
  /**
   * Protobuf type {@code POGOProtos.Networking.Requests.Messages.StartRaidBattleMessage}
   */
  public  static final class StartRaidBattleMessage extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:POGOProtos.Networking.Requests.Messages.StartRaidBattleMessage)
      StartRaidBattleMessageOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use StartRaidBattleMessage.newBuilder() to construct.
    private StartRaidBattleMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private StartRaidBattleMessage() {
      gymId_ = "";
      raidSeed_ = 0L;
      lobbyId_ = java.util.Collections.emptyList();
      attackingPokemonId_ = java.util.Collections.emptyList();
      playerLatDegrees_ = 0D;
      playerLngDegrees_ = 0D;
      gymLatDegrees_ = 0D;
      gymLngDegrees_ = 0D;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private StartRaidBattleMessage(
        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();

              gymId_ = s;
              break;
            }
            case 16: {

              raidSeed_ = input.readInt64();
              break;
            }
            case 32: {
              if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
                lobbyId_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000004;
              }
              lobbyId_.add(input.readInt32());
              break;
            }
            case 34: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000004) == 0x00000004) && input.getBytesUntilLimit() > 0) {
                lobbyId_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000004;
              }
              while (input.getBytesUntilLimit() > 0) {
                lobbyId_.add(input.readInt32());
              }
              input.popLimit(limit);
              break;
            }
            case 41: {
              if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
                attackingPokemonId_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000008;
              }
              attackingPokemonId_.add(input.readFixed64());
              break;
            }
            case 42: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000008) == 0x00000008) && input.getBytesUntilLimit() > 0) {
                attackingPokemonId_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000008;
              }
              while (input.getBytesUntilLimit() > 0) {
                attackingPokemonId_.add(input.readFixed64());
              }
              input.popLimit(limit);
              break;
            }
            case 49: {

              playerLatDegrees_ = input.readDouble();
              break;
            }
            case 57: {

              playerLngDegrees_ = input.readDouble();
              break;
            }
            case 65: {

              gymLatDegrees_ = input.readDouble();
              break;
            }
            case 73: {

              gymLngDegrees_ = input.readDouble();
              break;
            }
            default: {
              if (!parseUnknownFieldProto3(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
          lobbyId_ = java.util.Collections.unmodifiableList(lobbyId_);
        }
        if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
          attackingPokemonId_ = java.util.Collections.unmodifiableList(attackingPokemonId_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return POGOProtos.Networking.Requests.Messages.StartRaidBattleMessageOuterClass.internal_static_POGOProtos_Networking_Requests_Messages_StartRaidBattleMessage_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return POGOProtos.Networking.Requests.Messages.StartRaidBattleMessageOuterClass.internal_static_POGOProtos_Networking_Requests_Messages_StartRaidBattleMessage_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              POGOProtos.Networking.Requests.Messages.StartRaidBattleMessageOuterClass.StartRaidBattleMessage.class, POGOProtos.Networking.Requests.Messages.StartRaidBattleMessageOuterClass.StartRaidBattleMessage.Builder.class);
    }

    private int bitField0_;
    public static final int GYM_ID_FIELD_NUMBER = 1;
    private volatile java.lang.Object gymId_;
    /**
     * string gym_id = 1;
     */
    public java.lang.String getGymId() {
      java.lang.Object ref = gymId_;
      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();
        gymId_ = s;
        return s;
      }
    }
    /**
     * string gym_id = 1;
     */
    public com.google.protobuf.ByteString
        getGymIdBytes() {
      java.lang.Object ref = gymId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        gymId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int RAID_SEED_FIELD_NUMBER = 2;
    private long raidSeed_;
    /**
     * int64 raid_seed = 2;
     */
    public long getRaidSeed() {
      return raidSeed_;
    }

    public static final int LOBBY_ID_FIELD_NUMBER = 4;
    private java.util.List lobbyId_;
    /**
     * repeated int32 lobby_id = 4;
     */
    public java.util.List
        getLobbyIdList() {
      return lobbyId_;
    }
    /**
     * repeated int32 lobby_id = 4;
     */
    public int getLobbyIdCount() {
      return lobbyId_.size();
    }
    /**
     * repeated int32 lobby_id = 4;
     */
    public int getLobbyId(int index) {
      return lobbyId_.get(index);
    }
    private int lobbyIdMemoizedSerializedSize = -1;

    public static final int ATTACKING_POKEMON_ID_FIELD_NUMBER = 5;
    private java.util.List attackingPokemonId_;
    /**
     * repeated fixed64 attacking_pokemon_id = 5;
     */
    public java.util.List
        getAttackingPokemonIdList() {
      return attackingPokemonId_;
    }
    /**
     * repeated fixed64 attacking_pokemon_id = 5;
     */
    public int getAttackingPokemonIdCount() {
      return attackingPokemonId_.size();
    }
    /**
     * repeated fixed64 attacking_pokemon_id = 5;
     */
    public long getAttackingPokemonId(int index) {
      return attackingPokemonId_.get(index);
    }
    private int attackingPokemonIdMemoizedSerializedSize = -1;

    public static final int PLAYER_LAT_DEGREES_FIELD_NUMBER = 6;
    private double playerLatDegrees_;
    /**
     * double player_lat_degrees = 6;
     */
    public double getPlayerLatDegrees() {
      return playerLatDegrees_;
    }

    public static final int PLAYER_LNG_DEGREES_FIELD_NUMBER = 7;
    private double playerLngDegrees_;
    /**
     * double player_lng_degrees = 7;
     */
    public double getPlayerLngDegrees() {
      return playerLngDegrees_;
    }

    public static final int GYM_LAT_DEGREES_FIELD_NUMBER = 8;
    private double gymLatDegrees_;
    /**
     * double gym_lat_degrees = 8;
     */
    public double getGymLatDegrees() {
      return gymLatDegrees_;
    }

    public static final int GYM_LNG_DEGREES_FIELD_NUMBER = 9;
    private double gymLngDegrees_;
    /**
     * double gym_lng_degrees = 9;
     */
    public double getGymLngDegrees() {
      return gymLngDegrees_;
    }

    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 {
      getSerializedSize();
      if (!getGymIdBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, gymId_);
      }
      if (raidSeed_ != 0L) {
        output.writeInt64(2, raidSeed_);
      }
      if (getLobbyIdList().size() > 0) {
        output.writeUInt32NoTag(34);
        output.writeUInt32NoTag(lobbyIdMemoizedSerializedSize);
      }
      for (int i = 0; i < lobbyId_.size(); i++) {
        output.writeInt32NoTag(lobbyId_.get(i));
      }
      if (getAttackingPokemonIdList().size() > 0) {
        output.writeUInt32NoTag(42);
        output.writeUInt32NoTag(attackingPokemonIdMemoizedSerializedSize);
      }
      for (int i = 0; i < attackingPokemonId_.size(); i++) {
        output.writeFixed64NoTag(attackingPokemonId_.get(i));
      }
      if (playerLatDegrees_ != 0D) {
        output.writeDouble(6, playerLatDegrees_);
      }
      if (playerLngDegrees_ != 0D) {
        output.writeDouble(7, playerLngDegrees_);
      }
      if (gymLatDegrees_ != 0D) {
        output.writeDouble(8, gymLatDegrees_);
      }
      if (gymLngDegrees_ != 0D) {
        output.writeDouble(9, gymLngDegrees_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (!getGymIdBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, gymId_);
      }
      if (raidSeed_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(2, raidSeed_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < lobbyId_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeInt32SizeNoTag(lobbyId_.get(i));
        }
        size += dataSize;
        if (!getLobbyIdList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        lobbyIdMemoizedSerializedSize = dataSize;
      }
      {
        int dataSize = 0;
        dataSize = 8 * getAttackingPokemonIdList().size();
        size += dataSize;
        if (!getAttackingPokemonIdList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        attackingPokemonIdMemoizedSerializedSize = dataSize;
      }
      if (playerLatDegrees_ != 0D) {
        size += com.google.protobuf.CodedOutputStream
          .computeDoubleSize(6, playerLatDegrees_);
      }
      if (playerLngDegrees_ != 0D) {
        size += com.google.protobuf.CodedOutputStream
          .computeDoubleSize(7, playerLngDegrees_);
      }
      if (gymLatDegrees_ != 0D) {
        size += com.google.protobuf.CodedOutputStream
          .computeDoubleSize(8, gymLatDegrees_);
      }
      if (gymLngDegrees_ != 0D) {
        size += com.google.protobuf.CodedOutputStream
          .computeDoubleSize(9, gymLngDegrees_);
      }
      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.Networking.Requests.Messages.StartRaidBattleMessageOuterClass.StartRaidBattleMessage)) {
        return super.equals(obj);
      }
      POGOProtos.Networking.Requests.Messages.StartRaidBattleMessageOuterClass.StartRaidBattleMessage other = (POGOProtos.Networking.Requests.Messages.StartRaidBattleMessageOuterClass.StartRaidBattleMessage) obj;

      boolean result = true;
      result = result && getGymId()
          .equals(other.getGymId());
      result = result && (getRaidSeed()
          == other.getRaidSeed());
      result = result && getLobbyIdList()
          .equals(other.getLobbyIdList());
      result = result && getAttackingPokemonIdList()
          .equals(other.getAttackingPokemonIdList());
      result = result && (
          java.lang.Double.doubleToLongBits(getPlayerLatDegrees())
          == java.lang.Double.doubleToLongBits(
              other.getPlayerLatDegrees()));
      result = result && (
          java.lang.Double.doubleToLongBits(getPlayerLngDegrees())
          == java.lang.Double.doubleToLongBits(
              other.getPlayerLngDegrees()));
      result = result && (
          java.lang.Double.doubleToLongBits(getGymLatDegrees())
          == java.lang.Double.doubleToLongBits(
              other.getGymLatDegrees()));
      result = result && (
          java.lang.Double.doubleToLongBits(getGymLngDegrees())
          == java.lang.Double.doubleToLongBits(
              other.getGymLngDegrees()));
      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) + GYM_ID_FIELD_NUMBER;
      hash = (53 * hash) + getGymId().hashCode();
      hash = (37 * hash) + RAID_SEED_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getRaidSeed());
      if (getLobbyIdCount() > 0) {
        hash = (37 * hash) + LOBBY_ID_FIELD_NUMBER;
        hash = (53 * hash) + getLobbyIdList().hashCode();
      }
      if (getAttackingPokemonIdCount() > 0) {
        hash = (37 * hash) + ATTACKING_POKEMON_ID_FIELD_NUMBER;
        hash = (53 * hash) + getAttackingPokemonIdList().hashCode();
      }
      hash = (37 * hash) + PLAYER_LAT_DEGREES_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          java.lang.Double.doubleToLongBits(getPlayerLatDegrees()));
      hash = (37 * hash) + PLAYER_LNG_DEGREES_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          java.lang.Double.doubleToLongBits(getPlayerLngDegrees()));
      hash = (37 * hash) + GYM_LAT_DEGREES_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          java.lang.Double.doubleToLongBits(getGymLatDegrees()));
      hash = (37 * hash) + GYM_LNG_DEGREES_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          java.lang.Double.doubleToLongBits(getGymLngDegrees()));
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return POGOProtos.Networking.Requests.Messages.StartRaidBattleMessageOuterClass.internal_static_POGOProtos_Networking_Requests_Messages_StartRaidBattleMessage_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                POGOProtos.Networking.Requests.Messages.StartRaidBattleMessageOuterClass.StartRaidBattleMessage.class, POGOProtos.Networking.Requests.Messages.StartRaidBattleMessageOuterClass.StartRaidBattleMessage.Builder.class);
      }

      // Construct using POGOProtos.Networking.Requests.Messages.StartRaidBattleMessageOuterClass.StartRaidBattleMessage.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();
        gymId_ = "";

        raidSeed_ = 0L;

        lobbyId_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000004);
        attackingPokemonId_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000008);
        playerLatDegrees_ = 0D;

        playerLngDegrees_ = 0D;

        gymLatDegrees_ = 0D;

        gymLngDegrees_ = 0D;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return POGOProtos.Networking.Requests.Messages.StartRaidBattleMessageOuterClass.internal_static_POGOProtos_Networking_Requests_Messages_StartRaidBattleMessage_descriptor;
      }

      @java.lang.Override
      public POGOProtos.Networking.Requests.Messages.StartRaidBattleMessageOuterClass.StartRaidBattleMessage getDefaultInstanceForType() {
        return POGOProtos.Networking.Requests.Messages.StartRaidBattleMessageOuterClass.StartRaidBattleMessage.getDefaultInstance();
      }

      @java.lang.Override
      public POGOProtos.Networking.Requests.Messages.StartRaidBattleMessageOuterClass.StartRaidBattleMessage build() {
        POGOProtos.Networking.Requests.Messages.StartRaidBattleMessageOuterClass.StartRaidBattleMessage result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public POGOProtos.Networking.Requests.Messages.StartRaidBattleMessageOuterClass.StartRaidBattleMessage buildPartial() {
        POGOProtos.Networking.Requests.Messages.StartRaidBattleMessageOuterClass.StartRaidBattleMessage result = new POGOProtos.Networking.Requests.Messages.StartRaidBattleMessageOuterClass.StartRaidBattleMessage(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        result.gymId_ = gymId_;
        result.raidSeed_ = raidSeed_;
        if (((bitField0_ & 0x00000004) == 0x00000004)) {
          lobbyId_ = java.util.Collections.unmodifiableList(lobbyId_);
          bitField0_ = (bitField0_ & ~0x00000004);
        }
        result.lobbyId_ = lobbyId_;
        if (((bitField0_ & 0x00000008) == 0x00000008)) {
          attackingPokemonId_ = java.util.Collections.unmodifiableList(attackingPokemonId_);
          bitField0_ = (bitField0_ & ~0x00000008);
        }
        result.attackingPokemonId_ = attackingPokemonId_;
        result.playerLatDegrees_ = playerLatDegrees_;
        result.playerLngDegrees_ = playerLngDegrees_;
        result.gymLatDegrees_ = gymLatDegrees_;
        result.gymLngDegrees_ = gymLngDegrees_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

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

      public Builder mergeFrom(POGOProtos.Networking.Requests.Messages.StartRaidBattleMessageOuterClass.StartRaidBattleMessage other) {
        if (other == POGOProtos.Networking.Requests.Messages.StartRaidBattleMessageOuterClass.StartRaidBattleMessage.getDefaultInstance()) return this;
        if (!other.getGymId().isEmpty()) {
          gymId_ = other.gymId_;
          onChanged();
        }
        if (other.getRaidSeed() != 0L) {
          setRaidSeed(other.getRaidSeed());
        }
        if (!other.lobbyId_.isEmpty()) {
          if (lobbyId_.isEmpty()) {
            lobbyId_ = other.lobbyId_;
            bitField0_ = (bitField0_ & ~0x00000004);
          } else {
            ensureLobbyIdIsMutable();
            lobbyId_.addAll(other.lobbyId_);
          }
          onChanged();
        }
        if (!other.attackingPokemonId_.isEmpty()) {
          if (attackingPokemonId_.isEmpty()) {
            attackingPokemonId_ = other.attackingPokemonId_;
            bitField0_ = (bitField0_ & ~0x00000008);
          } else {
            ensureAttackingPokemonIdIsMutable();
            attackingPokemonId_.addAll(other.attackingPokemonId_);
          }
          onChanged();
        }
        if (other.getPlayerLatDegrees() != 0D) {
          setPlayerLatDegrees(other.getPlayerLatDegrees());
        }
        if (other.getPlayerLngDegrees() != 0D) {
          setPlayerLngDegrees(other.getPlayerLngDegrees());
        }
        if (other.getGymLatDegrees() != 0D) {
          setGymLatDegrees(other.getGymLatDegrees());
        }
        if (other.getGymLngDegrees() != 0D) {
          setGymLngDegrees(other.getGymLngDegrees());
        }
        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.Networking.Requests.Messages.StartRaidBattleMessageOuterClass.StartRaidBattleMessage parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (POGOProtos.Networking.Requests.Messages.StartRaidBattleMessageOuterClass.StartRaidBattleMessage) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.lang.Object gymId_ = "";
      /**
       * string gym_id = 1;
       */
      public java.lang.String getGymId() {
        java.lang.Object ref = gymId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          gymId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string gym_id = 1;
       */
      public com.google.protobuf.ByteString
          getGymIdBytes() {
        java.lang.Object ref = gymId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          gymId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string gym_id = 1;
       */
      public Builder setGymId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        gymId_ = value;
        onChanged();
        return this;
      }
      /**
       * string gym_id = 1;
       */
      public Builder clearGymId() {
        
        gymId_ = getDefaultInstance().getGymId();
        onChanged();
        return this;
      }
      /**
       * string gym_id = 1;
       */
      public Builder setGymIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        gymId_ = value;
        onChanged();
        return this;
      }

      private long raidSeed_ ;
      /**
       * int64 raid_seed = 2;
       */
      public long getRaidSeed() {
        return raidSeed_;
      }
      /**
       * int64 raid_seed = 2;
       */
      public Builder setRaidSeed(long value) {
        
        raidSeed_ = value;
        onChanged();
        return this;
      }
      /**
       * int64 raid_seed = 2;
       */
      public Builder clearRaidSeed() {
        
        raidSeed_ = 0L;
        onChanged();
        return this;
      }

      private java.util.List lobbyId_ = java.util.Collections.emptyList();
      private void ensureLobbyIdIsMutable() {
        if (!((bitField0_ & 0x00000004) == 0x00000004)) {
          lobbyId_ = new java.util.ArrayList(lobbyId_);
          bitField0_ |= 0x00000004;
         }
      }
      /**
       * repeated int32 lobby_id = 4;
       */
      public java.util.List
          getLobbyIdList() {
        return java.util.Collections.unmodifiableList(lobbyId_);
      }
      /**
       * repeated int32 lobby_id = 4;
       */
      public int getLobbyIdCount() {
        return lobbyId_.size();
      }
      /**
       * repeated int32 lobby_id = 4;
       */
      public int getLobbyId(int index) {
        return lobbyId_.get(index);
      }
      /**
       * repeated int32 lobby_id = 4;
       */
      public Builder setLobbyId(
          int index, int value) {
        ensureLobbyIdIsMutable();
        lobbyId_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * repeated int32 lobby_id = 4;
       */
      public Builder addLobbyId(int value) {
        ensureLobbyIdIsMutable();
        lobbyId_.add(value);
        onChanged();
        return this;
      }
      /**
       * repeated int32 lobby_id = 4;
       */
      public Builder addAllLobbyId(
          java.lang.Iterable values) {
        ensureLobbyIdIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, lobbyId_);
        onChanged();
        return this;
      }
      /**
       * repeated int32 lobby_id = 4;
       */
      public Builder clearLobbyId() {
        lobbyId_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000004);
        onChanged();
        return this;
      }

      private java.util.List attackingPokemonId_ = java.util.Collections.emptyList();
      private void ensureAttackingPokemonIdIsMutable() {
        if (!((bitField0_ & 0x00000008) == 0x00000008)) {
          attackingPokemonId_ = new java.util.ArrayList(attackingPokemonId_);
          bitField0_ |= 0x00000008;
         }
      }
      /**
       * repeated fixed64 attacking_pokemon_id = 5;
       */
      public java.util.List
          getAttackingPokemonIdList() {
        return java.util.Collections.unmodifiableList(attackingPokemonId_);
      }
      /**
       * repeated fixed64 attacking_pokemon_id = 5;
       */
      public int getAttackingPokemonIdCount() {
        return attackingPokemonId_.size();
      }
      /**
       * repeated fixed64 attacking_pokemon_id = 5;
       */
      public long getAttackingPokemonId(int index) {
        return attackingPokemonId_.get(index);
      }
      /**
       * repeated fixed64 attacking_pokemon_id = 5;
       */
      public Builder setAttackingPokemonId(
          int index, long value) {
        ensureAttackingPokemonIdIsMutable();
        attackingPokemonId_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * repeated fixed64 attacking_pokemon_id = 5;
       */
      public Builder addAttackingPokemonId(long value) {
        ensureAttackingPokemonIdIsMutable();
        attackingPokemonId_.add(value);
        onChanged();
        return this;
      }
      /**
       * repeated fixed64 attacking_pokemon_id = 5;
       */
      public Builder addAllAttackingPokemonId(
          java.lang.Iterable values) {
        ensureAttackingPokemonIdIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, attackingPokemonId_);
        onChanged();
        return this;
      }
      /**
       * repeated fixed64 attacking_pokemon_id = 5;
       */
      public Builder clearAttackingPokemonId() {
        attackingPokemonId_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000008);
        onChanged();
        return this;
      }

      private double playerLatDegrees_ ;
      /**
       * double player_lat_degrees = 6;
       */
      public double getPlayerLatDegrees() {
        return playerLatDegrees_;
      }
      /**
       * double player_lat_degrees = 6;
       */
      public Builder setPlayerLatDegrees(double value) {
        
        playerLatDegrees_ = value;
        onChanged();
        return this;
      }
      /**
       * double player_lat_degrees = 6;
       */
      public Builder clearPlayerLatDegrees() {
        
        playerLatDegrees_ = 0D;
        onChanged();
        return this;
      }

      private double playerLngDegrees_ ;
      /**
       * double player_lng_degrees = 7;
       */
      public double getPlayerLngDegrees() {
        return playerLngDegrees_;
      }
      /**
       * double player_lng_degrees = 7;
       */
      public Builder setPlayerLngDegrees(double value) {
        
        playerLngDegrees_ = value;
        onChanged();
        return this;
      }
      /**
       * double player_lng_degrees = 7;
       */
      public Builder clearPlayerLngDegrees() {
        
        playerLngDegrees_ = 0D;
        onChanged();
        return this;
      }

      private double gymLatDegrees_ ;
      /**
       * double gym_lat_degrees = 8;
       */
      public double getGymLatDegrees() {
        return gymLatDegrees_;
      }
      /**
       * double gym_lat_degrees = 8;
       */
      public Builder setGymLatDegrees(double value) {
        
        gymLatDegrees_ = value;
        onChanged();
        return this;
      }
      /**
       * double gym_lat_degrees = 8;
       */
      public Builder clearGymLatDegrees() {
        
        gymLatDegrees_ = 0D;
        onChanged();
        return this;
      }

      private double gymLngDegrees_ ;
      /**
       * double gym_lng_degrees = 9;
       */
      public double getGymLngDegrees() {
        return gymLngDegrees_;
      }
      /**
       * double gym_lng_degrees = 9;
       */
      public Builder setGymLngDegrees(double value) {
        
        gymLngDegrees_ = value;
        onChanged();
        return this;
      }
      /**
       * double gym_lng_degrees = 9;
       */
      public Builder clearGymLngDegrees() {
        
        gymLngDegrees_ = 0D;
        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.Networking.Requests.Messages.StartRaidBattleMessage)
    }

    // @@protoc_insertion_point(class_scope:POGOProtos.Networking.Requests.Messages.StartRaidBattleMessage)
    private static final POGOProtos.Networking.Requests.Messages.StartRaidBattleMessageOuterClass.StartRaidBattleMessage DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new POGOProtos.Networking.Requests.Messages.StartRaidBattleMessageOuterClass.StartRaidBattleMessage();
    }

    public static POGOProtos.Networking.Requests.Messages.StartRaidBattleMessageOuterClass.StartRaidBattleMessage getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_POGOProtos_Networking_Requests_Messages_StartRaidBattleMessage_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_POGOProtos_Networking_Requests_Messages_StartRaidBattleMessage_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\nDPOGOProtos/Networking/Requests/Message" +
      "s/StartRaidBattleMessage.proto\022\'POGOProt" +
      "os.Networking.Requests.Messages\"\325\001\n\026Star" +
      "tRaidBattleMessage\022\016\n\006gym_id\030\001 \001(\t\022\021\n\tra" +
      "id_seed\030\002 \001(\003\022\020\n\010lobby_id\030\004 \003(\005\022\034\n\024attac" +
      "king_pokemon_id\030\005 \003(\006\022\032\n\022player_lat_degr" +
      "ees\030\006 \001(\001\022\032\n\022player_lng_degrees\030\007 \001(\001\022\027\n" +
      "\017gym_lat_degrees\030\010 \001(\001\022\027\n\017gym_lng_degree" +
      "s\030\t \001(\001b\006proto3"
    };
    com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
        new com.google.protobuf.Descriptors.FileDescriptor.    InternalDescriptorAssigner() {
          public com.google.protobuf.ExtensionRegistry assignDescriptors(
              com.google.protobuf.Descriptors.FileDescriptor root) {
            descriptor = root;
            return null;
          }
        };
    com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        }, assigner);
    internal_static_POGOProtos_Networking_Requests_Messages_StartRaidBattleMessage_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_POGOProtos_Networking_Requests_Messages_StartRaidBattleMessage_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_POGOProtos_Networking_Requests_Messages_StartRaidBattleMessage_descriptor,
        new java.lang.String[] { "GymId", "RaidSeed", "LobbyId", "AttackingPokemonId", "PlayerLatDegrees", "PlayerLngDegrees", "GymLatDegrees", "GymLngDegrees", });
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy