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

POGOProtos.Data.Logs.CombatLogEntryOuterClass Maven / Gradle / Ivy

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

package POGOProtos.Data.Logs;

public final class CombatLogEntryOuterClass {
  private CombatLogEntryOuterClass() {}
  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 CombatLogEntryOrBuilder extends
      // @@protoc_insertion_point(interface_extends:POGOProtos.Data.Logs.CombatLogEntry)
      com.google.protobuf.MessageOrBuilder {

    /**
     * .POGOProtos.Data.Logs.CombatLogEntry.Result result = 1;
     */
    int getResultValue();
    /**
     * .POGOProtos.Data.Logs.CombatLogEntry.Result result = 1;
     */
    POGOProtos.Data.Logs.CombatLogEntryOuterClass.CombatLogEntry.Result getResult();

    /**
     * .POGOProtos.Enums.CombatPlayerFinishState finish_state = 2;
     */
    int getFinishStateValue();
    /**
     * .POGOProtos.Enums.CombatPlayerFinishState finish_state = 2;
     */
    POGOProtos.Enums.CombatPlayerFinishStateOuterClass.CombatPlayerFinishState getFinishState();

    /**
     * .POGOProtos.Inventory.Loot rewards = 3;
     */
    boolean hasRewards();
    /**
     * .POGOProtos.Inventory.Loot rewards = 3;
     */
    POGOProtos.Inventory.LootOuterClass.Loot getRewards();
    /**
     * .POGOProtos.Inventory.Loot rewards = 3;
     */
    POGOProtos.Inventory.LootOuterClass.LootOrBuilder getRewardsOrBuilder();

    /**
     * string opponent = 4;
     */
    java.lang.String getOpponent();
    /**
     * string opponent = 4;
     */
    com.google.protobuf.ByteString
        getOpponentBytes();

    /**
     * string combat_league_template_id = 5;
     */
    java.lang.String getCombatLeagueTemplateId();
    /**
     * string combat_league_template_id = 5;
     */
    com.google.protobuf.ByteString
        getCombatLeagueTemplateIdBytes();

    /**
     * string npc_template_id = 6;
     */
    java.lang.String getNpcTemplateId();
    /**
     * string npc_template_id = 6;
     */
    com.google.protobuf.ByteString
        getNpcTemplateIdBytes();
  }
  /**
   * Protobuf type {@code POGOProtos.Data.Logs.CombatLogEntry}
   */
  public  static final class CombatLogEntry extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:POGOProtos.Data.Logs.CombatLogEntry)
      CombatLogEntryOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use CombatLogEntry.newBuilder() to construct.
    private CombatLogEntry(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private CombatLogEntry() {
      result_ = 0;
      finishState_ = 0;
      opponent_ = "";
      combatLeagueTemplateId_ = "";
      npcTemplateId_ = "";
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private CombatLogEntry(
        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 8: {
              int rawValue = input.readEnum();

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

              finishState_ = rawValue;
              break;
            }
            case 26: {
              POGOProtos.Inventory.LootOuterClass.Loot.Builder subBuilder = null;
              if (rewards_ != null) {
                subBuilder = rewards_.toBuilder();
              }
              rewards_ = input.readMessage(POGOProtos.Inventory.LootOuterClass.Loot.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(rewards_);
                rewards_ = subBuilder.buildPartial();
              }

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

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

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

              npcTemplateId_ = s;
              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.Logs.CombatLogEntryOuterClass.internal_static_POGOProtos_Data_Logs_CombatLogEntry_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return POGOProtos.Data.Logs.CombatLogEntryOuterClass.internal_static_POGOProtos_Data_Logs_CombatLogEntry_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              POGOProtos.Data.Logs.CombatLogEntryOuterClass.CombatLogEntry.class, POGOProtos.Data.Logs.CombatLogEntryOuterClass.CombatLogEntry.Builder.class);
    }

    /**
     * Protobuf enum {@code POGOProtos.Data.Logs.CombatLogEntry.Result}
     */
    public enum Result
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * UNSET = 0;
       */
      UNSET(0),
      /**
       * SUCCESS = 1;
       */
      SUCCESS(1),
      UNRECOGNIZED(-1),
      ;

      /**
       * UNSET = 0;
       */
      public static final int UNSET_VALUE = 0;
      /**
       * SUCCESS = 1;
       */
      public static final int SUCCESS_VALUE = 1;


      public final int getNumber() {
        if (this == UNRECOGNIZED) {
          throw new java.lang.IllegalArgumentException(
              "Can't get the number of an unknown enum value.");
        }
        return value;
      }

      /**
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static Result valueOf(int value) {
        return forNumber(value);
      }

      public static Result forNumber(int value) {
        switch (value) {
          case 0: return UNSET;
          case 1: return SUCCESS;
          default: return null;
        }
      }

      public static com.google.protobuf.Internal.EnumLiteMap
          internalGetValueMap() {
        return internalValueMap;
      }
      private static final com.google.protobuf.Internal.EnumLiteMap<
          Result> internalValueMap =
            new com.google.protobuf.Internal.EnumLiteMap() {
              public Result findValueByNumber(int number) {
                return Result.forNumber(number);
              }
            };

      public final com.google.protobuf.Descriptors.EnumValueDescriptor
          getValueDescriptor() {
        return getDescriptor().getValues().get(ordinal());
      }
      public final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptorForType() {
        return getDescriptor();
      }
      public static final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptor() {
        return POGOProtos.Data.Logs.CombatLogEntryOuterClass.CombatLogEntry.getDescriptor().getEnumTypes().get(0);
      }

      private static final Result[] VALUES = values();

      public static Result valueOf(
          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
        if (desc.getType() != getDescriptor()) {
          throw new java.lang.IllegalArgumentException(
            "EnumValueDescriptor is not for this type.");
        }
        if (desc.getIndex() == -1) {
          return UNRECOGNIZED;
        }
        return VALUES[desc.getIndex()];
      }

      private final int value;

      private Result(int value) {
        this.value = value;
      }

      // @@protoc_insertion_point(enum_scope:POGOProtos.Data.Logs.CombatLogEntry.Result)
    }

    public static final int RESULT_FIELD_NUMBER = 1;
    private int result_;
    /**
     * .POGOProtos.Data.Logs.CombatLogEntry.Result result = 1;
     */
    public int getResultValue() {
      return result_;
    }
    /**
     * .POGOProtos.Data.Logs.CombatLogEntry.Result result = 1;
     */
    public POGOProtos.Data.Logs.CombatLogEntryOuterClass.CombatLogEntry.Result getResult() {
      @SuppressWarnings("deprecation")
      POGOProtos.Data.Logs.CombatLogEntryOuterClass.CombatLogEntry.Result result = POGOProtos.Data.Logs.CombatLogEntryOuterClass.CombatLogEntry.Result.valueOf(result_);
      return result == null ? POGOProtos.Data.Logs.CombatLogEntryOuterClass.CombatLogEntry.Result.UNRECOGNIZED : result;
    }

    public static final int FINISH_STATE_FIELD_NUMBER = 2;
    private int finishState_;
    /**
     * .POGOProtos.Enums.CombatPlayerFinishState finish_state = 2;
     */
    public int getFinishStateValue() {
      return finishState_;
    }
    /**
     * .POGOProtos.Enums.CombatPlayerFinishState finish_state = 2;
     */
    public POGOProtos.Enums.CombatPlayerFinishStateOuterClass.CombatPlayerFinishState getFinishState() {
      @SuppressWarnings("deprecation")
      POGOProtos.Enums.CombatPlayerFinishStateOuterClass.CombatPlayerFinishState result = POGOProtos.Enums.CombatPlayerFinishStateOuterClass.CombatPlayerFinishState.valueOf(finishState_);
      return result == null ? POGOProtos.Enums.CombatPlayerFinishStateOuterClass.CombatPlayerFinishState.UNRECOGNIZED : result;
    }

    public static final int REWARDS_FIELD_NUMBER = 3;
    private POGOProtos.Inventory.LootOuterClass.Loot rewards_;
    /**
     * .POGOProtos.Inventory.Loot rewards = 3;
     */
    public boolean hasRewards() {
      return rewards_ != null;
    }
    /**
     * .POGOProtos.Inventory.Loot rewards = 3;
     */
    public POGOProtos.Inventory.LootOuterClass.Loot getRewards() {
      return rewards_ == null ? POGOProtos.Inventory.LootOuterClass.Loot.getDefaultInstance() : rewards_;
    }
    /**
     * .POGOProtos.Inventory.Loot rewards = 3;
     */
    public POGOProtos.Inventory.LootOuterClass.LootOrBuilder getRewardsOrBuilder() {
      return getRewards();
    }

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

    public static final int COMBAT_LEAGUE_TEMPLATE_ID_FIELD_NUMBER = 5;
    private volatile java.lang.Object combatLeagueTemplateId_;
    /**
     * string combat_league_template_id = 5;
     */
    public java.lang.String getCombatLeagueTemplateId() {
      java.lang.Object ref = combatLeagueTemplateId_;
      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();
        combatLeagueTemplateId_ = s;
        return s;
      }
    }
    /**
     * string combat_league_template_id = 5;
     */
    public com.google.protobuf.ByteString
        getCombatLeagueTemplateIdBytes() {
      java.lang.Object ref = combatLeagueTemplateId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        combatLeagueTemplateId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int NPC_TEMPLATE_ID_FIELD_NUMBER = 6;
    private volatile java.lang.Object npcTemplateId_;
    /**
     * string npc_template_id = 6;
     */
    public java.lang.String getNpcTemplateId() {
      java.lang.Object ref = npcTemplateId_;
      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();
        npcTemplateId_ = s;
        return s;
      }
    }
    /**
     * string npc_template_id = 6;
     */
    public com.google.protobuf.ByteString
        getNpcTemplateIdBytes() {
      java.lang.Object ref = npcTemplateId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        npcTemplateId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (result_ != POGOProtos.Data.Logs.CombatLogEntryOuterClass.CombatLogEntry.Result.UNSET.getNumber()) {
        output.writeEnum(1, result_);
      }
      if (finishState_ != POGOProtos.Enums.CombatPlayerFinishStateOuterClass.CombatPlayerFinishState.WINNER.getNumber()) {
        output.writeEnum(2, finishState_);
      }
      if (rewards_ != null) {
        output.writeMessage(3, getRewards());
      }
      if (!getOpponentBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 4, opponent_);
      }
      if (!getCombatLeagueTemplateIdBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 5, combatLeagueTemplateId_);
      }
      if (!getNpcTemplateIdBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 6, npcTemplateId_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (result_ != POGOProtos.Data.Logs.CombatLogEntryOuterClass.CombatLogEntry.Result.UNSET.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(1, result_);
      }
      if (finishState_ != POGOProtos.Enums.CombatPlayerFinishStateOuterClass.CombatPlayerFinishState.WINNER.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(2, finishState_);
      }
      if (rewards_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, getRewards());
      }
      if (!getOpponentBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, opponent_);
      }
      if (!getCombatLeagueTemplateIdBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, combatLeagueTemplateId_);
      }
      if (!getNpcTemplateIdBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, npcTemplateId_);
      }
      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.Logs.CombatLogEntryOuterClass.CombatLogEntry)) {
        return super.equals(obj);
      }
      POGOProtos.Data.Logs.CombatLogEntryOuterClass.CombatLogEntry other = (POGOProtos.Data.Logs.CombatLogEntryOuterClass.CombatLogEntry) obj;

      boolean result = true;
      result = result && result_ == other.result_;
      result = result && finishState_ == other.finishState_;
      result = result && (hasRewards() == other.hasRewards());
      if (hasRewards()) {
        result = result && getRewards()
            .equals(other.getRewards());
      }
      result = result && getOpponent()
          .equals(other.getOpponent());
      result = result && getCombatLeagueTemplateId()
          .equals(other.getCombatLeagueTemplateId());
      result = result && getNpcTemplateId()
          .equals(other.getNpcTemplateId());
      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) + RESULT_FIELD_NUMBER;
      hash = (53 * hash) + result_;
      hash = (37 * hash) + FINISH_STATE_FIELD_NUMBER;
      hash = (53 * hash) + finishState_;
      if (hasRewards()) {
        hash = (37 * hash) + REWARDS_FIELD_NUMBER;
        hash = (53 * hash) + getRewards().hashCode();
      }
      hash = (37 * hash) + OPPONENT_FIELD_NUMBER;
      hash = (53 * hash) + getOpponent().hashCode();
      hash = (37 * hash) + COMBAT_LEAGUE_TEMPLATE_ID_FIELD_NUMBER;
      hash = (53 * hash) + getCombatLeagueTemplateId().hashCode();
      hash = (37 * hash) + NPC_TEMPLATE_ID_FIELD_NUMBER;
      hash = (53 * hash) + getNpcTemplateId().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return POGOProtos.Data.Logs.CombatLogEntryOuterClass.internal_static_POGOProtos_Data_Logs_CombatLogEntry_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                POGOProtos.Data.Logs.CombatLogEntryOuterClass.CombatLogEntry.class, POGOProtos.Data.Logs.CombatLogEntryOuterClass.CombatLogEntry.Builder.class);
      }

      // Construct using POGOProtos.Data.Logs.CombatLogEntryOuterClass.CombatLogEntry.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();
        result_ = 0;

        finishState_ = 0;

        if (rewardsBuilder_ == null) {
          rewards_ = null;
        } else {
          rewards_ = null;
          rewardsBuilder_ = null;
        }
        opponent_ = "";

        combatLeagueTemplateId_ = "";

        npcTemplateId_ = "";

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return POGOProtos.Data.Logs.CombatLogEntryOuterClass.internal_static_POGOProtos_Data_Logs_CombatLogEntry_descriptor;
      }

      @java.lang.Override
      public POGOProtos.Data.Logs.CombatLogEntryOuterClass.CombatLogEntry getDefaultInstanceForType() {
        return POGOProtos.Data.Logs.CombatLogEntryOuterClass.CombatLogEntry.getDefaultInstance();
      }

      @java.lang.Override
      public POGOProtos.Data.Logs.CombatLogEntryOuterClass.CombatLogEntry build() {
        POGOProtos.Data.Logs.CombatLogEntryOuterClass.CombatLogEntry result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public POGOProtos.Data.Logs.CombatLogEntryOuterClass.CombatLogEntry buildPartial() {
        POGOProtos.Data.Logs.CombatLogEntryOuterClass.CombatLogEntry result = new POGOProtos.Data.Logs.CombatLogEntryOuterClass.CombatLogEntry(this);
        result.result_ = result_;
        result.finishState_ = finishState_;
        if (rewardsBuilder_ == null) {
          result.rewards_ = rewards_;
        } else {
          result.rewards_ = rewardsBuilder_.build();
        }
        result.opponent_ = opponent_;
        result.combatLeagueTemplateId_ = combatLeagueTemplateId_;
        result.npcTemplateId_ = npcTemplateId_;
        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.Logs.CombatLogEntryOuterClass.CombatLogEntry) {
          return mergeFrom((POGOProtos.Data.Logs.CombatLogEntryOuterClass.CombatLogEntry)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(POGOProtos.Data.Logs.CombatLogEntryOuterClass.CombatLogEntry other) {
        if (other == POGOProtos.Data.Logs.CombatLogEntryOuterClass.CombatLogEntry.getDefaultInstance()) return this;
        if (other.result_ != 0) {
          setResultValue(other.getResultValue());
        }
        if (other.finishState_ != 0) {
          setFinishStateValue(other.getFinishStateValue());
        }
        if (other.hasRewards()) {
          mergeRewards(other.getRewards());
        }
        if (!other.getOpponent().isEmpty()) {
          opponent_ = other.opponent_;
          onChanged();
        }
        if (!other.getCombatLeagueTemplateId().isEmpty()) {
          combatLeagueTemplateId_ = other.combatLeagueTemplateId_;
          onChanged();
        }
        if (!other.getNpcTemplateId().isEmpty()) {
          npcTemplateId_ = other.npcTemplateId_;
          onChanged();
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

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

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

      private int result_ = 0;
      /**
       * .POGOProtos.Data.Logs.CombatLogEntry.Result result = 1;
       */
      public int getResultValue() {
        return result_;
      }
      /**
       * .POGOProtos.Data.Logs.CombatLogEntry.Result result = 1;
       */
      public Builder setResultValue(int value) {
        result_ = value;
        onChanged();
        return this;
      }
      /**
       * .POGOProtos.Data.Logs.CombatLogEntry.Result result = 1;
       */
      public POGOProtos.Data.Logs.CombatLogEntryOuterClass.CombatLogEntry.Result getResult() {
        @SuppressWarnings("deprecation")
        POGOProtos.Data.Logs.CombatLogEntryOuterClass.CombatLogEntry.Result result = POGOProtos.Data.Logs.CombatLogEntryOuterClass.CombatLogEntry.Result.valueOf(result_);
        return result == null ? POGOProtos.Data.Logs.CombatLogEntryOuterClass.CombatLogEntry.Result.UNRECOGNIZED : result;
      }
      /**
       * .POGOProtos.Data.Logs.CombatLogEntry.Result result = 1;
       */
      public Builder setResult(POGOProtos.Data.Logs.CombatLogEntryOuterClass.CombatLogEntry.Result value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        result_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * .POGOProtos.Data.Logs.CombatLogEntry.Result result = 1;
       */
      public Builder clearResult() {
        
        result_ = 0;
        onChanged();
        return this;
      }

      private int finishState_ = 0;
      /**
       * .POGOProtos.Enums.CombatPlayerFinishState finish_state = 2;
       */
      public int getFinishStateValue() {
        return finishState_;
      }
      /**
       * .POGOProtos.Enums.CombatPlayerFinishState finish_state = 2;
       */
      public Builder setFinishStateValue(int value) {
        finishState_ = value;
        onChanged();
        return this;
      }
      /**
       * .POGOProtos.Enums.CombatPlayerFinishState finish_state = 2;
       */
      public POGOProtos.Enums.CombatPlayerFinishStateOuterClass.CombatPlayerFinishState getFinishState() {
        @SuppressWarnings("deprecation")
        POGOProtos.Enums.CombatPlayerFinishStateOuterClass.CombatPlayerFinishState result = POGOProtos.Enums.CombatPlayerFinishStateOuterClass.CombatPlayerFinishState.valueOf(finishState_);
        return result == null ? POGOProtos.Enums.CombatPlayerFinishStateOuterClass.CombatPlayerFinishState.UNRECOGNIZED : result;
      }
      /**
       * .POGOProtos.Enums.CombatPlayerFinishState finish_state = 2;
       */
      public Builder setFinishState(POGOProtos.Enums.CombatPlayerFinishStateOuterClass.CombatPlayerFinishState value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        finishState_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * .POGOProtos.Enums.CombatPlayerFinishState finish_state = 2;
       */
      public Builder clearFinishState() {
        
        finishState_ = 0;
        onChanged();
        return this;
      }

      private POGOProtos.Inventory.LootOuterClass.Loot rewards_ = null;
      private com.google.protobuf.SingleFieldBuilderV3<
          POGOProtos.Inventory.LootOuterClass.Loot, POGOProtos.Inventory.LootOuterClass.Loot.Builder, POGOProtos.Inventory.LootOuterClass.LootOrBuilder> rewardsBuilder_;
      /**
       * .POGOProtos.Inventory.Loot rewards = 3;
       */
      public boolean hasRewards() {
        return rewardsBuilder_ != null || rewards_ != null;
      }
      /**
       * .POGOProtos.Inventory.Loot rewards = 3;
       */
      public POGOProtos.Inventory.LootOuterClass.Loot getRewards() {
        if (rewardsBuilder_ == null) {
          return rewards_ == null ? POGOProtos.Inventory.LootOuterClass.Loot.getDefaultInstance() : rewards_;
        } else {
          return rewardsBuilder_.getMessage();
        }
      }
      /**
       * .POGOProtos.Inventory.Loot rewards = 3;
       */
      public Builder setRewards(POGOProtos.Inventory.LootOuterClass.Loot value) {
        if (rewardsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          rewards_ = value;
          onChanged();
        } else {
          rewardsBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .POGOProtos.Inventory.Loot rewards = 3;
       */
      public Builder setRewards(
          POGOProtos.Inventory.LootOuterClass.Loot.Builder builderForValue) {
        if (rewardsBuilder_ == null) {
          rewards_ = builderForValue.build();
          onChanged();
        } else {
          rewardsBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .POGOProtos.Inventory.Loot rewards = 3;
       */
      public Builder mergeRewards(POGOProtos.Inventory.LootOuterClass.Loot value) {
        if (rewardsBuilder_ == null) {
          if (rewards_ != null) {
            rewards_ =
              POGOProtos.Inventory.LootOuterClass.Loot.newBuilder(rewards_).mergeFrom(value).buildPartial();
          } else {
            rewards_ = value;
          }
          onChanged();
        } else {
          rewardsBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .POGOProtos.Inventory.Loot rewards = 3;
       */
      public Builder clearRewards() {
        if (rewardsBuilder_ == null) {
          rewards_ = null;
          onChanged();
        } else {
          rewards_ = null;
          rewardsBuilder_ = null;
        }

        return this;
      }
      /**
       * .POGOProtos.Inventory.Loot rewards = 3;
       */
      public POGOProtos.Inventory.LootOuterClass.Loot.Builder getRewardsBuilder() {
        
        onChanged();
        return getRewardsFieldBuilder().getBuilder();
      }
      /**
       * .POGOProtos.Inventory.Loot rewards = 3;
       */
      public POGOProtos.Inventory.LootOuterClass.LootOrBuilder getRewardsOrBuilder() {
        if (rewardsBuilder_ != null) {
          return rewardsBuilder_.getMessageOrBuilder();
        } else {
          return rewards_ == null ?
              POGOProtos.Inventory.LootOuterClass.Loot.getDefaultInstance() : rewards_;
        }
      }
      /**
       * .POGOProtos.Inventory.Loot rewards = 3;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          POGOProtos.Inventory.LootOuterClass.Loot, POGOProtos.Inventory.LootOuterClass.Loot.Builder, POGOProtos.Inventory.LootOuterClass.LootOrBuilder> 
          getRewardsFieldBuilder() {
        if (rewardsBuilder_ == null) {
          rewardsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              POGOProtos.Inventory.LootOuterClass.Loot, POGOProtos.Inventory.LootOuterClass.Loot.Builder, POGOProtos.Inventory.LootOuterClass.LootOrBuilder>(
                  getRewards(),
                  getParentForChildren(),
                  isClean());
          rewards_ = null;
        }
        return rewardsBuilder_;
      }

      private java.lang.Object opponent_ = "";
      /**
       * string opponent = 4;
       */
      public java.lang.String getOpponent() {
        java.lang.Object ref = opponent_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          opponent_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string opponent = 4;
       */
      public com.google.protobuf.ByteString
          getOpponentBytes() {
        java.lang.Object ref = opponent_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          opponent_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string opponent = 4;
       */
      public Builder setOpponent(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        opponent_ = value;
        onChanged();
        return this;
      }
      /**
       * string opponent = 4;
       */
      public Builder clearOpponent() {
        
        opponent_ = getDefaultInstance().getOpponent();
        onChanged();
        return this;
      }
      /**
       * string opponent = 4;
       */
      public Builder setOpponentBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        opponent_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object combatLeagueTemplateId_ = "";
      /**
       * string combat_league_template_id = 5;
       */
      public java.lang.String getCombatLeagueTemplateId() {
        java.lang.Object ref = combatLeagueTemplateId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          combatLeagueTemplateId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string combat_league_template_id = 5;
       */
      public com.google.protobuf.ByteString
          getCombatLeagueTemplateIdBytes() {
        java.lang.Object ref = combatLeagueTemplateId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          combatLeagueTemplateId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string combat_league_template_id = 5;
       */
      public Builder setCombatLeagueTemplateId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        combatLeagueTemplateId_ = value;
        onChanged();
        return this;
      }
      /**
       * string combat_league_template_id = 5;
       */
      public Builder clearCombatLeagueTemplateId() {
        
        combatLeagueTemplateId_ = getDefaultInstance().getCombatLeagueTemplateId();
        onChanged();
        return this;
      }
      /**
       * string combat_league_template_id = 5;
       */
      public Builder setCombatLeagueTemplateIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        combatLeagueTemplateId_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object npcTemplateId_ = "";
      /**
       * string npc_template_id = 6;
       */
      public java.lang.String getNpcTemplateId() {
        java.lang.Object ref = npcTemplateId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          npcTemplateId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string npc_template_id = 6;
       */
      public com.google.protobuf.ByteString
          getNpcTemplateIdBytes() {
        java.lang.Object ref = npcTemplateId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          npcTemplateId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string npc_template_id = 6;
       */
      public Builder setNpcTemplateId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        npcTemplateId_ = value;
        onChanged();
        return this;
      }
      /**
       * string npc_template_id = 6;
       */
      public Builder clearNpcTemplateId() {
        
        npcTemplateId_ = getDefaultInstance().getNpcTemplateId();
        onChanged();
        return this;
      }
      /**
       * string npc_template_id = 6;
       */
      public Builder setNpcTemplateIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        npcTemplateId_ = value;
        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.Logs.CombatLogEntry)
    }

    // @@protoc_insertion_point(class_scope:POGOProtos.Data.Logs.CombatLogEntry)
    private static final POGOProtos.Data.Logs.CombatLogEntryOuterClass.CombatLogEntry DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new POGOProtos.Data.Logs.CombatLogEntryOuterClass.CombatLogEntry();
    }

    public static POGOProtos.Data.Logs.CombatLogEntryOuterClass.CombatLogEntry getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_POGOProtos_Data_Logs_CombatLogEntry_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_POGOProtos_Data_Logs_CombatLogEntry_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/Logs/CombatLogEntry.pr" +
      "oto\022\024POGOProtos.Data.Logs\032\037POGOProtos/In" +
      "ventory/Loot.proto\032.POGOProtos/Enums/Com" +
      "batPlayerFinishState.proto\"\253\002\n\016CombatLog" +
      "Entry\022;\n\006result\030\001 \001(\0162+.POGOProtos.Data." +
      "Logs.CombatLogEntry.Result\022?\n\014finish_sta" +
      "te\030\002 \001(\0162).POGOProtos.Enums.CombatPlayer" +
      "FinishState\022+\n\007rewards\030\003 \001(\0132\032.POGOProto" +
      "s.Inventory.Loot\022\020\n\010opponent\030\004 \001(\t\022!\n\031co" +
      "mbat_league_template_id\030\005 \001(\t\022\027\n\017npc_tem" +
      "plate_id\030\006 \001(\t\" \n\006Result\022\t\n\005UNSET\020\000\022\013\n\007S" +
      "UCCESS\020\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[] {
          POGOProtos.Inventory.LootOuterClass.getDescriptor(),
          POGOProtos.Enums.CombatPlayerFinishStateOuterClass.getDescriptor(),
        }, assigner);
    internal_static_POGOProtos_Data_Logs_CombatLogEntry_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_POGOProtos_Data_Logs_CombatLogEntry_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_POGOProtos_Data_Logs_CombatLogEntry_descriptor,
        new java.lang.String[] { "Result", "FinishState", "Rewards", "Opponent", "CombatLeagueTemplateId", "NpcTemplateId", });
    POGOProtos.Inventory.LootOuterClass.getDescriptor();
    POGOProtos.Enums.CombatPlayerFinishStateOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy