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

POGOProtos.Data.Battle.BattleUpdateOuterClass Maven / Gradle / Ivy

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

package POGOProtos.Data.Battle;

public final class BattleUpdateOuterClass {
  private BattleUpdateOuterClass() {}
  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 BattleUpdateOrBuilder extends
      // @@protoc_insertion_point(interface_extends:POGOProtos.Data.Battle.BattleUpdate)
      com.google.protobuf.MessageOrBuilder {

    /**
     * .POGOProtos.Data.Battle.BattleLog battle_log = 1;
     */
    boolean hasBattleLog();
    /**
     * .POGOProtos.Data.Battle.BattleLog battle_log = 1;
     */
    POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog getBattleLog();
    /**
     * .POGOProtos.Data.Battle.BattleLog battle_log = 1;
     */
    POGOProtos.Data.Battle.BattleLogOuterClass.BattleLogOrBuilder getBattleLogOrBuilder();

    /**
     * string battle_id = 2;
     */
    java.lang.String getBattleId();
    /**
     * string battle_id = 2;
     */
    com.google.protobuf.ByteString
        getBattleIdBytes();

    /**
     * .POGOProtos.Data.Battle.BattlePokemonInfo active_defender = 3;
     */
    boolean hasActiveDefender();
    /**
     * .POGOProtos.Data.Battle.BattlePokemonInfo active_defender = 3;
     */
    POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo getActiveDefender();
    /**
     * .POGOProtos.Data.Battle.BattlePokemonInfo active_defender = 3;
     */
    POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfoOrBuilder getActiveDefenderOrBuilder();

    /**
     * .POGOProtos.Data.Battle.BattlePokemonInfo active_attacker = 4;
     */
    boolean hasActiveAttacker();
    /**
     * .POGOProtos.Data.Battle.BattlePokemonInfo active_attacker = 4;
     */
    POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo getActiveAttacker();
    /**
     * .POGOProtos.Data.Battle.BattlePokemonInfo active_attacker = 4;
     */
    POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfoOrBuilder getActiveAttackerOrBuilder();

    /**
     * .POGOProtos.Enums.FriendshipLevelMilestone highest_friendship_milestone = 5;
     */
    int getHighestFriendshipMilestoneValue();
    /**
     * .POGOProtos.Enums.FriendshipLevelMilestone highest_friendship_milestone = 5;
     */
    POGOProtos.Enums.FriendshipLevelMilestoneOuterClass.FriendshipLevelMilestone getHighestFriendshipMilestone();
  }
  /**
   * Protobuf type {@code POGOProtos.Data.Battle.BattleUpdate}
   */
  public  static final class BattleUpdate extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:POGOProtos.Data.Battle.BattleUpdate)
      BattleUpdateOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use BattleUpdate.newBuilder() to construct.
    private BattleUpdate(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private BattleUpdate() {
      battleId_ = "";
      highestFriendshipMilestone_ = 0;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private BattleUpdate(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog.Builder subBuilder = null;
              if (battleLog_ != null) {
                subBuilder = battleLog_.toBuilder();
              }
              battleLog_ = input.readMessage(POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(battleLog_);
                battleLog_ = subBuilder.buildPartial();
              }

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

              battleId_ = s;
              break;
            }
            case 26: {
              POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo.Builder subBuilder = null;
              if (activeDefender_ != null) {
                subBuilder = activeDefender_.toBuilder();
              }
              activeDefender_ = input.readMessage(POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(activeDefender_);
                activeDefender_ = subBuilder.buildPartial();
              }

              break;
            }
            case 34: {
              POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo.Builder subBuilder = null;
              if (activeAttacker_ != null) {
                subBuilder = activeAttacker_.toBuilder();
              }
              activeAttacker_ = input.readMessage(POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(activeAttacker_);
                activeAttacker_ = subBuilder.buildPartial();
              }

              break;
            }
            case 40: {
              int rawValue = input.readEnum();

              highestFriendshipMilestone_ = rawValue;
              break;
            }
            default: {
              if (!parseUnknownFieldProto3(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return POGOProtos.Data.Battle.BattleUpdateOuterClass.internal_static_POGOProtos_Data_Battle_BattleUpdate_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return POGOProtos.Data.Battle.BattleUpdateOuterClass.internal_static_POGOProtos_Data_Battle_BattleUpdate_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              POGOProtos.Data.Battle.BattleUpdateOuterClass.BattleUpdate.class, POGOProtos.Data.Battle.BattleUpdateOuterClass.BattleUpdate.Builder.class);
    }

    public static final int BATTLE_LOG_FIELD_NUMBER = 1;
    private POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog battleLog_;
    /**
     * .POGOProtos.Data.Battle.BattleLog battle_log = 1;
     */
    public boolean hasBattleLog() {
      return battleLog_ != null;
    }
    /**
     * .POGOProtos.Data.Battle.BattleLog battle_log = 1;
     */
    public POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog getBattleLog() {
      return battleLog_ == null ? POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog.getDefaultInstance() : battleLog_;
    }
    /**
     * .POGOProtos.Data.Battle.BattleLog battle_log = 1;
     */
    public POGOProtos.Data.Battle.BattleLogOuterClass.BattleLogOrBuilder getBattleLogOrBuilder() {
      return getBattleLog();
    }

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

    public static final int ACTIVE_DEFENDER_FIELD_NUMBER = 3;
    private POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo activeDefender_;
    /**
     * .POGOProtos.Data.Battle.BattlePokemonInfo active_defender = 3;
     */
    public boolean hasActiveDefender() {
      return activeDefender_ != null;
    }
    /**
     * .POGOProtos.Data.Battle.BattlePokemonInfo active_defender = 3;
     */
    public POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo getActiveDefender() {
      return activeDefender_ == null ? POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo.getDefaultInstance() : activeDefender_;
    }
    /**
     * .POGOProtos.Data.Battle.BattlePokemonInfo active_defender = 3;
     */
    public POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfoOrBuilder getActiveDefenderOrBuilder() {
      return getActiveDefender();
    }

    public static final int ACTIVE_ATTACKER_FIELD_NUMBER = 4;
    private POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo activeAttacker_;
    /**
     * .POGOProtos.Data.Battle.BattlePokemonInfo active_attacker = 4;
     */
    public boolean hasActiveAttacker() {
      return activeAttacker_ != null;
    }
    /**
     * .POGOProtos.Data.Battle.BattlePokemonInfo active_attacker = 4;
     */
    public POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo getActiveAttacker() {
      return activeAttacker_ == null ? POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo.getDefaultInstance() : activeAttacker_;
    }
    /**
     * .POGOProtos.Data.Battle.BattlePokemonInfo active_attacker = 4;
     */
    public POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfoOrBuilder getActiveAttackerOrBuilder() {
      return getActiveAttacker();
    }

    public static final int HIGHEST_FRIENDSHIP_MILESTONE_FIELD_NUMBER = 5;
    private int highestFriendshipMilestone_;
    /**
     * .POGOProtos.Enums.FriendshipLevelMilestone highest_friendship_milestone = 5;
     */
    public int getHighestFriendshipMilestoneValue() {
      return highestFriendshipMilestone_;
    }
    /**
     * .POGOProtos.Enums.FriendshipLevelMilestone highest_friendship_milestone = 5;
     */
    public POGOProtos.Enums.FriendshipLevelMilestoneOuterClass.FriendshipLevelMilestone getHighestFriendshipMilestone() {
      @SuppressWarnings("deprecation")
      POGOProtos.Enums.FriendshipLevelMilestoneOuterClass.FriendshipLevelMilestone result = POGOProtos.Enums.FriendshipLevelMilestoneOuterClass.FriendshipLevelMilestone.valueOf(highestFriendshipMilestone_);
      return result == null ? POGOProtos.Enums.FriendshipLevelMilestoneOuterClass.FriendshipLevelMilestone.UNRECOGNIZED : result;
    }

    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 (battleLog_ != null) {
        output.writeMessage(1, getBattleLog());
      }
      if (!getBattleIdBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, battleId_);
      }
      if (activeDefender_ != null) {
        output.writeMessage(3, getActiveDefender());
      }
      if (activeAttacker_ != null) {
        output.writeMessage(4, getActiveAttacker());
      }
      if (highestFriendshipMilestone_ != POGOProtos.Enums.FriendshipLevelMilestoneOuterClass.FriendshipLevelMilestone.FRIENDSHIP_LEVEL_UNSET.getNumber()) {
        output.writeEnum(5, highestFriendshipMilestone_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (battleLog_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getBattleLog());
      }
      if (!getBattleIdBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, battleId_);
      }
      if (activeDefender_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, getActiveDefender());
      }
      if (activeAttacker_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(4, getActiveAttacker());
      }
      if (highestFriendshipMilestone_ != POGOProtos.Enums.FriendshipLevelMilestoneOuterClass.FriendshipLevelMilestone.FRIENDSHIP_LEVEL_UNSET.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(5, highestFriendshipMilestone_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof POGOProtos.Data.Battle.BattleUpdateOuterClass.BattleUpdate)) {
        return super.equals(obj);
      }
      POGOProtos.Data.Battle.BattleUpdateOuterClass.BattleUpdate other = (POGOProtos.Data.Battle.BattleUpdateOuterClass.BattleUpdate) obj;

      boolean result = true;
      result = result && (hasBattleLog() == other.hasBattleLog());
      if (hasBattleLog()) {
        result = result && getBattleLog()
            .equals(other.getBattleLog());
      }
      result = result && getBattleId()
          .equals(other.getBattleId());
      result = result && (hasActiveDefender() == other.hasActiveDefender());
      if (hasActiveDefender()) {
        result = result && getActiveDefender()
            .equals(other.getActiveDefender());
      }
      result = result && (hasActiveAttacker() == other.hasActiveAttacker());
      if (hasActiveAttacker()) {
        result = result && getActiveAttacker()
            .equals(other.getActiveAttacker());
      }
      result = result && highestFriendshipMilestone_ == other.highestFriendshipMilestone_;
      result = result && unknownFields.equals(other.unknownFields);
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasBattleLog()) {
        hash = (37 * hash) + BATTLE_LOG_FIELD_NUMBER;
        hash = (53 * hash) + getBattleLog().hashCode();
      }
      hash = (37 * hash) + BATTLE_ID_FIELD_NUMBER;
      hash = (53 * hash) + getBattleId().hashCode();
      if (hasActiveDefender()) {
        hash = (37 * hash) + ACTIVE_DEFENDER_FIELD_NUMBER;
        hash = (53 * hash) + getActiveDefender().hashCode();
      }
      if (hasActiveAttacker()) {
        hash = (37 * hash) + ACTIVE_ATTACKER_FIELD_NUMBER;
        hash = (53 * hash) + getActiveAttacker().hashCode();
      }
      hash = (37 * hash) + HIGHEST_FRIENDSHIP_MILESTONE_FIELD_NUMBER;
      hash = (53 * hash) + highestFriendshipMilestone_;
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static POGOProtos.Data.Battle.BattleUpdateOuterClass.BattleUpdate parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static POGOProtos.Data.Battle.BattleUpdateOuterClass.BattleUpdate parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static POGOProtos.Data.Battle.BattleUpdateOuterClass.BattleUpdate parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static POGOProtos.Data.Battle.BattleUpdateOuterClass.BattleUpdate parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static POGOProtos.Data.Battle.BattleUpdateOuterClass.BattleUpdate parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static POGOProtos.Data.Battle.BattleUpdateOuterClass.BattleUpdate parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static POGOProtos.Data.Battle.BattleUpdateOuterClass.BattleUpdate parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static POGOProtos.Data.Battle.BattleUpdateOuterClass.BattleUpdate parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static POGOProtos.Data.Battle.BattleUpdateOuterClass.BattleUpdate parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static POGOProtos.Data.Battle.BattleUpdateOuterClass.BattleUpdate parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static POGOProtos.Data.Battle.BattleUpdateOuterClass.BattleUpdate parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static POGOProtos.Data.Battle.BattleUpdateOuterClass.BattleUpdate parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(POGOProtos.Data.Battle.BattleUpdateOuterClass.BattleUpdate prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code POGOProtos.Data.Battle.BattleUpdate}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:POGOProtos.Data.Battle.BattleUpdate)
        POGOProtos.Data.Battle.BattleUpdateOuterClass.BattleUpdateOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return POGOProtos.Data.Battle.BattleUpdateOuterClass.internal_static_POGOProtos_Data_Battle_BattleUpdate_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return POGOProtos.Data.Battle.BattleUpdateOuterClass.internal_static_POGOProtos_Data_Battle_BattleUpdate_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                POGOProtos.Data.Battle.BattleUpdateOuterClass.BattleUpdate.class, POGOProtos.Data.Battle.BattleUpdateOuterClass.BattleUpdate.Builder.class);
      }

      // Construct using POGOProtos.Data.Battle.BattleUpdateOuterClass.BattleUpdate.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();
        if (battleLogBuilder_ == null) {
          battleLog_ = null;
        } else {
          battleLog_ = null;
          battleLogBuilder_ = null;
        }
        battleId_ = "";

        if (activeDefenderBuilder_ == null) {
          activeDefender_ = null;
        } else {
          activeDefender_ = null;
          activeDefenderBuilder_ = null;
        }
        if (activeAttackerBuilder_ == null) {
          activeAttacker_ = null;
        } else {
          activeAttacker_ = null;
          activeAttackerBuilder_ = null;
        }
        highestFriendshipMilestone_ = 0;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return POGOProtos.Data.Battle.BattleUpdateOuterClass.internal_static_POGOProtos_Data_Battle_BattleUpdate_descriptor;
      }

      @java.lang.Override
      public POGOProtos.Data.Battle.BattleUpdateOuterClass.BattleUpdate getDefaultInstanceForType() {
        return POGOProtos.Data.Battle.BattleUpdateOuterClass.BattleUpdate.getDefaultInstance();
      }

      @java.lang.Override
      public POGOProtos.Data.Battle.BattleUpdateOuterClass.BattleUpdate build() {
        POGOProtos.Data.Battle.BattleUpdateOuterClass.BattleUpdate result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public POGOProtos.Data.Battle.BattleUpdateOuterClass.BattleUpdate buildPartial() {
        POGOProtos.Data.Battle.BattleUpdateOuterClass.BattleUpdate result = new POGOProtos.Data.Battle.BattleUpdateOuterClass.BattleUpdate(this);
        if (battleLogBuilder_ == null) {
          result.battleLog_ = battleLog_;
        } else {
          result.battleLog_ = battleLogBuilder_.build();
        }
        result.battleId_ = battleId_;
        if (activeDefenderBuilder_ == null) {
          result.activeDefender_ = activeDefender_;
        } else {
          result.activeDefender_ = activeDefenderBuilder_.build();
        }
        if (activeAttackerBuilder_ == null) {
          result.activeAttacker_ = activeAttacker_;
        } else {
          result.activeAttacker_ = activeAttackerBuilder_.build();
        }
        result.highestFriendshipMilestone_ = highestFriendshipMilestone_;
        onBuilt();
        return result;
      }

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

      public Builder mergeFrom(POGOProtos.Data.Battle.BattleUpdateOuterClass.BattleUpdate other) {
        if (other == POGOProtos.Data.Battle.BattleUpdateOuterClass.BattleUpdate.getDefaultInstance()) return this;
        if (other.hasBattleLog()) {
          mergeBattleLog(other.getBattleLog());
        }
        if (!other.getBattleId().isEmpty()) {
          battleId_ = other.battleId_;
          onChanged();
        }
        if (other.hasActiveDefender()) {
          mergeActiveDefender(other.getActiveDefender());
        }
        if (other.hasActiveAttacker()) {
          mergeActiveAttacker(other.getActiveAttacker());
        }
        if (other.highestFriendshipMilestone_ != 0) {
          setHighestFriendshipMilestoneValue(other.getHighestFriendshipMilestoneValue());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        POGOProtos.Data.Battle.BattleUpdateOuterClass.BattleUpdate parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (POGOProtos.Data.Battle.BattleUpdateOuterClass.BattleUpdate) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog battleLog_ = null;
      private com.google.protobuf.SingleFieldBuilderV3<
          POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog, POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog.Builder, POGOProtos.Data.Battle.BattleLogOuterClass.BattleLogOrBuilder> battleLogBuilder_;
      /**
       * .POGOProtos.Data.Battle.BattleLog battle_log = 1;
       */
      public boolean hasBattleLog() {
        return battleLogBuilder_ != null || battleLog_ != null;
      }
      /**
       * .POGOProtos.Data.Battle.BattleLog battle_log = 1;
       */
      public POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog getBattleLog() {
        if (battleLogBuilder_ == null) {
          return battleLog_ == null ? POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog.getDefaultInstance() : battleLog_;
        } else {
          return battleLogBuilder_.getMessage();
        }
      }
      /**
       * .POGOProtos.Data.Battle.BattleLog battle_log = 1;
       */
      public Builder setBattleLog(POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog value) {
        if (battleLogBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          battleLog_ = value;
          onChanged();
        } else {
          battleLogBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Battle.BattleLog battle_log = 1;
       */
      public Builder setBattleLog(
          POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog.Builder builderForValue) {
        if (battleLogBuilder_ == null) {
          battleLog_ = builderForValue.build();
          onChanged();
        } else {
          battleLogBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Battle.BattleLog battle_log = 1;
       */
      public Builder mergeBattleLog(POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog value) {
        if (battleLogBuilder_ == null) {
          if (battleLog_ != null) {
            battleLog_ =
              POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog.newBuilder(battleLog_).mergeFrom(value).buildPartial();
          } else {
            battleLog_ = value;
          }
          onChanged();
        } else {
          battleLogBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Battle.BattleLog battle_log = 1;
       */
      public Builder clearBattleLog() {
        if (battleLogBuilder_ == null) {
          battleLog_ = null;
          onChanged();
        } else {
          battleLog_ = null;
          battleLogBuilder_ = null;
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Battle.BattleLog battle_log = 1;
       */
      public POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog.Builder getBattleLogBuilder() {
        
        onChanged();
        return getBattleLogFieldBuilder().getBuilder();
      }
      /**
       * .POGOProtos.Data.Battle.BattleLog battle_log = 1;
       */
      public POGOProtos.Data.Battle.BattleLogOuterClass.BattleLogOrBuilder getBattleLogOrBuilder() {
        if (battleLogBuilder_ != null) {
          return battleLogBuilder_.getMessageOrBuilder();
        } else {
          return battleLog_ == null ?
              POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog.getDefaultInstance() : battleLog_;
        }
      }
      /**
       * .POGOProtos.Data.Battle.BattleLog battle_log = 1;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog, POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog.Builder, POGOProtos.Data.Battle.BattleLogOuterClass.BattleLogOrBuilder> 
          getBattleLogFieldBuilder() {
        if (battleLogBuilder_ == null) {
          battleLogBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog, POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog.Builder, POGOProtos.Data.Battle.BattleLogOuterClass.BattleLogOrBuilder>(
                  getBattleLog(),
                  getParentForChildren(),
                  isClean());
          battleLog_ = null;
        }
        return battleLogBuilder_;
      }

      private java.lang.Object battleId_ = "";
      /**
       * string battle_id = 2;
       */
      public java.lang.String getBattleId() {
        java.lang.Object ref = battleId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          battleId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string battle_id = 2;
       */
      public com.google.protobuf.ByteString
          getBattleIdBytes() {
        java.lang.Object ref = battleId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          battleId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string battle_id = 2;
       */
      public Builder setBattleId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        battleId_ = value;
        onChanged();
        return this;
      }
      /**
       * string battle_id = 2;
       */
      public Builder clearBattleId() {
        
        battleId_ = getDefaultInstance().getBattleId();
        onChanged();
        return this;
      }
      /**
       * string battle_id = 2;
       */
      public Builder setBattleIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        battleId_ = value;
        onChanged();
        return this;
      }

      private POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo activeDefender_ = null;
      private com.google.protobuf.SingleFieldBuilderV3<
          POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo, POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo.Builder, POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfoOrBuilder> activeDefenderBuilder_;
      /**
       * .POGOProtos.Data.Battle.BattlePokemonInfo active_defender = 3;
       */
      public boolean hasActiveDefender() {
        return activeDefenderBuilder_ != null || activeDefender_ != null;
      }
      /**
       * .POGOProtos.Data.Battle.BattlePokemonInfo active_defender = 3;
       */
      public POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo getActiveDefender() {
        if (activeDefenderBuilder_ == null) {
          return activeDefender_ == null ? POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo.getDefaultInstance() : activeDefender_;
        } else {
          return activeDefenderBuilder_.getMessage();
        }
      }
      /**
       * .POGOProtos.Data.Battle.BattlePokemonInfo active_defender = 3;
       */
      public Builder setActiveDefender(POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo value) {
        if (activeDefenderBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          activeDefender_ = value;
          onChanged();
        } else {
          activeDefenderBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Battle.BattlePokemonInfo active_defender = 3;
       */
      public Builder setActiveDefender(
          POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo.Builder builderForValue) {
        if (activeDefenderBuilder_ == null) {
          activeDefender_ = builderForValue.build();
          onChanged();
        } else {
          activeDefenderBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Battle.BattlePokemonInfo active_defender = 3;
       */
      public Builder mergeActiveDefender(POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo value) {
        if (activeDefenderBuilder_ == null) {
          if (activeDefender_ != null) {
            activeDefender_ =
              POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo.newBuilder(activeDefender_).mergeFrom(value).buildPartial();
          } else {
            activeDefender_ = value;
          }
          onChanged();
        } else {
          activeDefenderBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Battle.BattlePokemonInfo active_defender = 3;
       */
      public Builder clearActiveDefender() {
        if (activeDefenderBuilder_ == null) {
          activeDefender_ = null;
          onChanged();
        } else {
          activeDefender_ = null;
          activeDefenderBuilder_ = null;
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Battle.BattlePokemonInfo active_defender = 3;
       */
      public POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo.Builder getActiveDefenderBuilder() {
        
        onChanged();
        return getActiveDefenderFieldBuilder().getBuilder();
      }
      /**
       * .POGOProtos.Data.Battle.BattlePokemonInfo active_defender = 3;
       */
      public POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfoOrBuilder getActiveDefenderOrBuilder() {
        if (activeDefenderBuilder_ != null) {
          return activeDefenderBuilder_.getMessageOrBuilder();
        } else {
          return activeDefender_ == null ?
              POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo.getDefaultInstance() : activeDefender_;
        }
      }
      /**
       * .POGOProtos.Data.Battle.BattlePokemonInfo active_defender = 3;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo, POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo.Builder, POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfoOrBuilder> 
          getActiveDefenderFieldBuilder() {
        if (activeDefenderBuilder_ == null) {
          activeDefenderBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo, POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo.Builder, POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfoOrBuilder>(
                  getActiveDefender(),
                  getParentForChildren(),
                  isClean());
          activeDefender_ = null;
        }
        return activeDefenderBuilder_;
      }

      private POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo activeAttacker_ = null;
      private com.google.protobuf.SingleFieldBuilderV3<
          POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo, POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo.Builder, POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfoOrBuilder> activeAttackerBuilder_;
      /**
       * .POGOProtos.Data.Battle.BattlePokemonInfo active_attacker = 4;
       */
      public boolean hasActiveAttacker() {
        return activeAttackerBuilder_ != null || activeAttacker_ != null;
      }
      /**
       * .POGOProtos.Data.Battle.BattlePokemonInfo active_attacker = 4;
       */
      public POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo getActiveAttacker() {
        if (activeAttackerBuilder_ == null) {
          return activeAttacker_ == null ? POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo.getDefaultInstance() : activeAttacker_;
        } else {
          return activeAttackerBuilder_.getMessage();
        }
      }
      /**
       * .POGOProtos.Data.Battle.BattlePokemonInfo active_attacker = 4;
       */
      public Builder setActiveAttacker(POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo value) {
        if (activeAttackerBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          activeAttacker_ = value;
          onChanged();
        } else {
          activeAttackerBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Battle.BattlePokemonInfo active_attacker = 4;
       */
      public Builder setActiveAttacker(
          POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo.Builder builderForValue) {
        if (activeAttackerBuilder_ == null) {
          activeAttacker_ = builderForValue.build();
          onChanged();
        } else {
          activeAttackerBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Battle.BattlePokemonInfo active_attacker = 4;
       */
      public Builder mergeActiveAttacker(POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo value) {
        if (activeAttackerBuilder_ == null) {
          if (activeAttacker_ != null) {
            activeAttacker_ =
              POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo.newBuilder(activeAttacker_).mergeFrom(value).buildPartial();
          } else {
            activeAttacker_ = value;
          }
          onChanged();
        } else {
          activeAttackerBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Battle.BattlePokemonInfo active_attacker = 4;
       */
      public Builder clearActiveAttacker() {
        if (activeAttackerBuilder_ == null) {
          activeAttacker_ = null;
          onChanged();
        } else {
          activeAttacker_ = null;
          activeAttackerBuilder_ = null;
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Battle.BattlePokemonInfo active_attacker = 4;
       */
      public POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo.Builder getActiveAttackerBuilder() {
        
        onChanged();
        return getActiveAttackerFieldBuilder().getBuilder();
      }
      /**
       * .POGOProtos.Data.Battle.BattlePokemonInfo active_attacker = 4;
       */
      public POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfoOrBuilder getActiveAttackerOrBuilder() {
        if (activeAttackerBuilder_ != null) {
          return activeAttackerBuilder_.getMessageOrBuilder();
        } else {
          return activeAttacker_ == null ?
              POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo.getDefaultInstance() : activeAttacker_;
        }
      }
      /**
       * .POGOProtos.Data.Battle.BattlePokemonInfo active_attacker = 4;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo, POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo.Builder, POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfoOrBuilder> 
          getActiveAttackerFieldBuilder() {
        if (activeAttackerBuilder_ == null) {
          activeAttackerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo, POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfo.Builder, POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.BattlePokemonInfoOrBuilder>(
                  getActiveAttacker(),
                  getParentForChildren(),
                  isClean());
          activeAttacker_ = null;
        }
        return activeAttackerBuilder_;
      }

      private int highestFriendshipMilestone_ = 0;
      /**
       * .POGOProtos.Enums.FriendshipLevelMilestone highest_friendship_milestone = 5;
       */
      public int getHighestFriendshipMilestoneValue() {
        return highestFriendshipMilestone_;
      }
      /**
       * .POGOProtos.Enums.FriendshipLevelMilestone highest_friendship_milestone = 5;
       */
      public Builder setHighestFriendshipMilestoneValue(int value) {
        highestFriendshipMilestone_ = value;
        onChanged();
        return this;
      }
      /**
       * .POGOProtos.Enums.FriendshipLevelMilestone highest_friendship_milestone = 5;
       */
      public POGOProtos.Enums.FriendshipLevelMilestoneOuterClass.FriendshipLevelMilestone getHighestFriendshipMilestone() {
        @SuppressWarnings("deprecation")
        POGOProtos.Enums.FriendshipLevelMilestoneOuterClass.FriendshipLevelMilestone result = POGOProtos.Enums.FriendshipLevelMilestoneOuterClass.FriendshipLevelMilestone.valueOf(highestFriendshipMilestone_);
        return result == null ? POGOProtos.Enums.FriendshipLevelMilestoneOuterClass.FriendshipLevelMilestone.UNRECOGNIZED : result;
      }
      /**
       * .POGOProtos.Enums.FriendshipLevelMilestone highest_friendship_milestone = 5;
       */
      public Builder setHighestFriendshipMilestone(POGOProtos.Enums.FriendshipLevelMilestoneOuterClass.FriendshipLevelMilestone value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        highestFriendshipMilestone_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * .POGOProtos.Enums.FriendshipLevelMilestone highest_friendship_milestone = 5;
       */
      public Builder clearHighestFriendshipMilestone() {
        
        highestFriendshipMilestone_ = 0;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFieldsProto3(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:POGOProtos.Data.Battle.BattleUpdate)
    }

    // @@protoc_insertion_point(class_scope:POGOProtos.Data.Battle.BattleUpdate)
    private static final POGOProtos.Data.Battle.BattleUpdateOuterClass.BattleUpdate DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new POGOProtos.Data.Battle.BattleUpdateOuterClass.BattleUpdate();
    }

    public static POGOProtos.Data.Battle.BattleUpdateOuterClass.BattleUpdate getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public POGOProtos.Data.Battle.BattleUpdateOuterClass.BattleUpdate getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_POGOProtos_Data_Battle_BattleUpdate_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_POGOProtos_Data_Battle_BattleUpdate_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n)POGOProtos/Data/Battle/BattleUpdate.pr" +
      "oto\022\026POGOProtos.Data.Battle\032&POGOProtos/" +
      "Data/Battle/BattleLog.proto\032.POGOProtos/" +
      "Data/Battle/BattlePokemonInfo.proto\032/POG" +
      "OProtos/Enums/FriendshipLevelMilestone.p" +
      "roto\"\262\002\n\014BattleUpdate\0225\n\nbattle_log\030\001 \001(" +
      "\0132!.POGOProtos.Data.Battle.BattleLog\022\021\n\t" +
      "battle_id\030\002 \001(\t\022B\n\017active_defender\030\003 \001(\013" +
      "2).POGOProtos.Data.Battle.BattlePokemonI" +
      "nfo\022B\n\017active_attacker\030\004 \001(\0132).POGOProto" +
      "s.Data.Battle.BattlePokemonInfo\022P\n\034highe" +
      "st_friendship_milestone\030\005 \001(\0162*.POGOProt" +
      "os.Enums.FriendshipLevelMilestoneb\006proto" +
      "3"
    };
    com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
        new com.google.protobuf.Descriptors.FileDescriptor.    InternalDescriptorAssigner() {
          public com.google.protobuf.ExtensionRegistry assignDescriptors(
              com.google.protobuf.Descriptors.FileDescriptor root) {
            descriptor = root;
            return null;
          }
        };
    com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          POGOProtos.Data.Battle.BattleLogOuterClass.getDescriptor(),
          POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.getDescriptor(),
          POGOProtos.Enums.FriendshipLevelMilestoneOuterClass.getDescriptor(),
        }, assigner);
    internal_static_POGOProtos_Data_Battle_BattleUpdate_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_POGOProtos_Data_Battle_BattleUpdate_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_POGOProtos_Data_Battle_BattleUpdate_descriptor,
        new java.lang.String[] { "BattleLog", "BattleId", "ActiveDefender", "ActiveAttacker", "HighestFriendshipMilestone", });
    POGOProtos.Data.Battle.BattleLogOuterClass.getDescriptor();
    POGOProtos.Data.Battle.BattlePokemonInfoOuterClass.getDescriptor();
    POGOProtos.Enums.FriendshipLevelMilestoneOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy