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

POGOProtos.Map.Fort.GymDisplayOuterClass Maven / Gradle / Ivy

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

package POGOProtos.Map.Fort;

public final class GymDisplayOuterClass {
  private GymDisplayOuterClass() {}
  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 GymDisplayOrBuilder extends
      // @@protoc_insertion_point(interface_extends:POGOProtos.Map.Fort.GymDisplay)
      com.google.protobuf.MessageOrBuilder {

    /**
     * repeated .POGOProtos.Map.Fort.GymEvent gym_event = 1;
     */
    java.util.List 
        getGymEventList();
    /**
     * repeated .POGOProtos.Map.Fort.GymEvent gym_event = 1;
     */
    POGOProtos.Map.Fort.GymEventOuterClass.GymEvent getGymEvent(int index);
    /**
     * repeated .POGOProtos.Map.Fort.GymEvent gym_event = 1;
     */
    int getGymEventCount();
    /**
     * repeated .POGOProtos.Map.Fort.GymEvent gym_event = 1;
     */
    java.util.List 
        getGymEventOrBuilderList();
    /**
     * repeated .POGOProtos.Map.Fort.GymEvent gym_event = 1;
     */
    POGOProtos.Map.Fort.GymEventOuterClass.GymEventOrBuilder getGymEventOrBuilder(
        int index);

    /**
     * int32 total_gym_cp = 2;
     */
    int getTotalGymCp();

    /**
     * double lowest_pokemon_motivation = 3;
     */
    double getLowestPokemonMotivation();

    /**
     * int32 slots_available = 4;
     */
    int getSlotsAvailable();

    /**
     * int64 occupied_millis = 5;
     */
    long getOccupiedMillis();
  }
  /**
   * Protobuf type {@code POGOProtos.Map.Fort.GymDisplay}
   */
  public  static final class GymDisplay extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:POGOProtos.Map.Fort.GymDisplay)
      GymDisplayOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GymDisplay.newBuilder() to construct.
    private GymDisplay(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private GymDisplay() {
      gymEvent_ = java.util.Collections.emptyList();
      totalGymCp_ = 0;
      lowestPokemonMotivation_ = 0D;
      slotsAvailable_ = 0;
      occupiedMillis_ = 0L;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private GymDisplay(
        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: {
              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                gymEvent_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              gymEvent_.add(
                  input.readMessage(POGOProtos.Map.Fort.GymEventOuterClass.GymEvent.parser(), extensionRegistry));
              break;
            }
            case 16: {

              totalGymCp_ = input.readInt32();
              break;
            }
            case 25: {

              lowestPokemonMotivation_ = input.readDouble();
              break;
            }
            case 32: {

              slotsAvailable_ = input.readInt32();
              break;
            }
            case 40: {

              occupiedMillis_ = input.readInt64();
              break;
            }
            default: {
              if (!parseUnknownFieldProto3(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
          gymEvent_ = java.util.Collections.unmodifiableList(gymEvent_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return POGOProtos.Map.Fort.GymDisplayOuterClass.internal_static_POGOProtos_Map_Fort_GymDisplay_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return POGOProtos.Map.Fort.GymDisplayOuterClass.internal_static_POGOProtos_Map_Fort_GymDisplay_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay.class, POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay.Builder.class);
    }

    private int bitField0_;
    public static final int GYM_EVENT_FIELD_NUMBER = 1;
    private java.util.List gymEvent_;
    /**
     * repeated .POGOProtos.Map.Fort.GymEvent gym_event = 1;
     */
    public java.util.List getGymEventList() {
      return gymEvent_;
    }
    /**
     * repeated .POGOProtos.Map.Fort.GymEvent gym_event = 1;
     */
    public java.util.List 
        getGymEventOrBuilderList() {
      return gymEvent_;
    }
    /**
     * repeated .POGOProtos.Map.Fort.GymEvent gym_event = 1;
     */
    public int getGymEventCount() {
      return gymEvent_.size();
    }
    /**
     * repeated .POGOProtos.Map.Fort.GymEvent gym_event = 1;
     */
    public POGOProtos.Map.Fort.GymEventOuterClass.GymEvent getGymEvent(int index) {
      return gymEvent_.get(index);
    }
    /**
     * repeated .POGOProtos.Map.Fort.GymEvent gym_event = 1;
     */
    public POGOProtos.Map.Fort.GymEventOuterClass.GymEventOrBuilder getGymEventOrBuilder(
        int index) {
      return gymEvent_.get(index);
    }

    public static final int TOTAL_GYM_CP_FIELD_NUMBER = 2;
    private int totalGymCp_;
    /**
     * int32 total_gym_cp = 2;
     */
    public int getTotalGymCp() {
      return totalGymCp_;
    }

    public static final int LOWEST_POKEMON_MOTIVATION_FIELD_NUMBER = 3;
    private double lowestPokemonMotivation_;
    /**
     * double lowest_pokemon_motivation = 3;
     */
    public double getLowestPokemonMotivation() {
      return lowestPokemonMotivation_;
    }

    public static final int SLOTS_AVAILABLE_FIELD_NUMBER = 4;
    private int slotsAvailable_;
    /**
     * int32 slots_available = 4;
     */
    public int getSlotsAvailable() {
      return slotsAvailable_;
    }

    public static final int OCCUPIED_MILLIS_FIELD_NUMBER = 5;
    private long occupiedMillis_;
    /**
     * int64 occupied_millis = 5;
     */
    public long getOccupiedMillis() {
      return occupiedMillis_;
    }

    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 {
      for (int i = 0; i < gymEvent_.size(); i++) {
        output.writeMessage(1, gymEvent_.get(i));
      }
      if (totalGymCp_ != 0) {
        output.writeInt32(2, totalGymCp_);
      }
      if (lowestPokemonMotivation_ != 0D) {
        output.writeDouble(3, lowestPokemonMotivation_);
      }
      if (slotsAvailable_ != 0) {
        output.writeInt32(4, slotsAvailable_);
      }
      if (occupiedMillis_ != 0L) {
        output.writeInt64(5, occupiedMillis_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      for (int i = 0; i < gymEvent_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, gymEvent_.get(i));
      }
      if (totalGymCp_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(2, totalGymCp_);
      }
      if (lowestPokemonMotivation_ != 0D) {
        size += com.google.protobuf.CodedOutputStream
          .computeDoubleSize(3, lowestPokemonMotivation_);
      }
      if (slotsAvailable_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(4, slotsAvailable_);
      }
      if (occupiedMillis_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(5, occupiedMillis_);
      }
      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.Map.Fort.GymDisplayOuterClass.GymDisplay)) {
        return super.equals(obj);
      }
      POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay other = (POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay) obj;

      boolean result = true;
      result = result && getGymEventList()
          .equals(other.getGymEventList());
      result = result && (getTotalGymCp()
          == other.getTotalGymCp());
      result = result && (
          java.lang.Double.doubleToLongBits(getLowestPokemonMotivation())
          == java.lang.Double.doubleToLongBits(
              other.getLowestPokemonMotivation()));
      result = result && (getSlotsAvailable()
          == other.getSlotsAvailable());
      result = result && (getOccupiedMillis()
          == other.getOccupiedMillis());
      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 (getGymEventCount() > 0) {
        hash = (37 * hash) + GYM_EVENT_FIELD_NUMBER;
        hash = (53 * hash) + getGymEventList().hashCode();
      }
      hash = (37 * hash) + TOTAL_GYM_CP_FIELD_NUMBER;
      hash = (53 * hash) + getTotalGymCp();
      hash = (37 * hash) + LOWEST_POKEMON_MOTIVATION_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          java.lang.Double.doubleToLongBits(getLowestPokemonMotivation()));
      hash = (37 * hash) + SLOTS_AVAILABLE_FIELD_NUMBER;
      hash = (53 * hash) + getSlotsAvailable();
      hash = (37 * hash) + OCCUPIED_MILLIS_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getOccupiedMillis());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return POGOProtos.Map.Fort.GymDisplayOuterClass.internal_static_POGOProtos_Map_Fort_GymDisplay_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay.class, POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay.Builder.class);
      }

      // Construct using POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getGymEventFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (gymEventBuilder_ == null) {
          gymEvent_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          gymEventBuilder_.clear();
        }
        totalGymCp_ = 0;

        lowestPokemonMotivation_ = 0D;

        slotsAvailable_ = 0;

        occupiedMillis_ = 0L;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return POGOProtos.Map.Fort.GymDisplayOuterClass.internal_static_POGOProtos_Map_Fort_GymDisplay_descriptor;
      }

      @java.lang.Override
      public POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay getDefaultInstanceForType() {
        return POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay.getDefaultInstance();
      }

      @java.lang.Override
      public POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay build() {
        POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay buildPartial() {
        POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay result = new POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (gymEventBuilder_ == null) {
          if (((bitField0_ & 0x00000001) == 0x00000001)) {
            gymEvent_ = java.util.Collections.unmodifiableList(gymEvent_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.gymEvent_ = gymEvent_;
        } else {
          result.gymEvent_ = gymEventBuilder_.build();
        }
        result.totalGymCp_ = totalGymCp_;
        result.lowestPokemonMotivation_ = lowestPokemonMotivation_;
        result.slotsAvailable_ = slotsAvailable_;
        result.occupiedMillis_ = occupiedMillis_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

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

      public Builder mergeFrom(POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay other) {
        if (other == POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay.getDefaultInstance()) return this;
        if (gymEventBuilder_ == null) {
          if (!other.gymEvent_.isEmpty()) {
            if (gymEvent_.isEmpty()) {
              gymEvent_ = other.gymEvent_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureGymEventIsMutable();
              gymEvent_.addAll(other.gymEvent_);
            }
            onChanged();
          }
        } else {
          if (!other.gymEvent_.isEmpty()) {
            if (gymEventBuilder_.isEmpty()) {
              gymEventBuilder_.dispose();
              gymEventBuilder_ = null;
              gymEvent_ = other.gymEvent_;
              bitField0_ = (bitField0_ & ~0x00000001);
              gymEventBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getGymEventFieldBuilder() : null;
            } else {
              gymEventBuilder_.addAllMessages(other.gymEvent_);
            }
          }
        }
        if (other.getTotalGymCp() != 0) {
          setTotalGymCp(other.getTotalGymCp());
        }
        if (other.getLowestPokemonMotivation() != 0D) {
          setLowestPokemonMotivation(other.getLowestPokemonMotivation());
        }
        if (other.getSlotsAvailable() != 0) {
          setSlotsAvailable(other.getSlotsAvailable());
        }
        if (other.getOccupiedMillis() != 0L) {
          setOccupiedMillis(other.getOccupiedMillis());
        }
        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.Map.Fort.GymDisplayOuterClass.GymDisplay parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.util.List gymEvent_ =
        java.util.Collections.emptyList();
      private void ensureGymEventIsMutable() {
        if (!((bitField0_ & 0x00000001) == 0x00000001)) {
          gymEvent_ = new java.util.ArrayList(gymEvent_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          POGOProtos.Map.Fort.GymEventOuterClass.GymEvent, POGOProtos.Map.Fort.GymEventOuterClass.GymEvent.Builder, POGOProtos.Map.Fort.GymEventOuterClass.GymEventOrBuilder> gymEventBuilder_;

      /**
       * repeated .POGOProtos.Map.Fort.GymEvent gym_event = 1;
       */
      public java.util.List getGymEventList() {
        if (gymEventBuilder_ == null) {
          return java.util.Collections.unmodifiableList(gymEvent_);
        } else {
          return gymEventBuilder_.getMessageList();
        }
      }
      /**
       * repeated .POGOProtos.Map.Fort.GymEvent gym_event = 1;
       */
      public int getGymEventCount() {
        if (gymEventBuilder_ == null) {
          return gymEvent_.size();
        } else {
          return gymEventBuilder_.getCount();
        }
      }
      /**
       * repeated .POGOProtos.Map.Fort.GymEvent gym_event = 1;
       */
      public POGOProtos.Map.Fort.GymEventOuterClass.GymEvent getGymEvent(int index) {
        if (gymEventBuilder_ == null) {
          return gymEvent_.get(index);
        } else {
          return gymEventBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .POGOProtos.Map.Fort.GymEvent gym_event = 1;
       */
      public Builder setGymEvent(
          int index, POGOProtos.Map.Fort.GymEventOuterClass.GymEvent value) {
        if (gymEventBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureGymEventIsMutable();
          gymEvent_.set(index, value);
          onChanged();
        } else {
          gymEventBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Map.Fort.GymEvent gym_event = 1;
       */
      public Builder setGymEvent(
          int index, POGOProtos.Map.Fort.GymEventOuterClass.GymEvent.Builder builderForValue) {
        if (gymEventBuilder_ == null) {
          ensureGymEventIsMutable();
          gymEvent_.set(index, builderForValue.build());
          onChanged();
        } else {
          gymEventBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Map.Fort.GymEvent gym_event = 1;
       */
      public Builder addGymEvent(POGOProtos.Map.Fort.GymEventOuterClass.GymEvent value) {
        if (gymEventBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureGymEventIsMutable();
          gymEvent_.add(value);
          onChanged();
        } else {
          gymEventBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Map.Fort.GymEvent gym_event = 1;
       */
      public Builder addGymEvent(
          int index, POGOProtos.Map.Fort.GymEventOuterClass.GymEvent value) {
        if (gymEventBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureGymEventIsMutable();
          gymEvent_.add(index, value);
          onChanged();
        } else {
          gymEventBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Map.Fort.GymEvent gym_event = 1;
       */
      public Builder addGymEvent(
          POGOProtos.Map.Fort.GymEventOuterClass.GymEvent.Builder builderForValue) {
        if (gymEventBuilder_ == null) {
          ensureGymEventIsMutable();
          gymEvent_.add(builderForValue.build());
          onChanged();
        } else {
          gymEventBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Map.Fort.GymEvent gym_event = 1;
       */
      public Builder addGymEvent(
          int index, POGOProtos.Map.Fort.GymEventOuterClass.GymEvent.Builder builderForValue) {
        if (gymEventBuilder_ == null) {
          ensureGymEventIsMutable();
          gymEvent_.add(index, builderForValue.build());
          onChanged();
        } else {
          gymEventBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Map.Fort.GymEvent gym_event = 1;
       */
      public Builder addAllGymEvent(
          java.lang.Iterable values) {
        if (gymEventBuilder_ == null) {
          ensureGymEventIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, gymEvent_);
          onChanged();
        } else {
          gymEventBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Map.Fort.GymEvent gym_event = 1;
       */
      public Builder clearGymEvent() {
        if (gymEventBuilder_ == null) {
          gymEvent_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          gymEventBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Map.Fort.GymEvent gym_event = 1;
       */
      public Builder removeGymEvent(int index) {
        if (gymEventBuilder_ == null) {
          ensureGymEventIsMutable();
          gymEvent_.remove(index);
          onChanged();
        } else {
          gymEventBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Map.Fort.GymEvent gym_event = 1;
       */
      public POGOProtos.Map.Fort.GymEventOuterClass.GymEvent.Builder getGymEventBuilder(
          int index) {
        return getGymEventFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .POGOProtos.Map.Fort.GymEvent gym_event = 1;
       */
      public POGOProtos.Map.Fort.GymEventOuterClass.GymEventOrBuilder getGymEventOrBuilder(
          int index) {
        if (gymEventBuilder_ == null) {
          return gymEvent_.get(index);  } else {
          return gymEventBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .POGOProtos.Map.Fort.GymEvent gym_event = 1;
       */
      public java.util.List 
           getGymEventOrBuilderList() {
        if (gymEventBuilder_ != null) {
          return gymEventBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(gymEvent_);
        }
      }
      /**
       * repeated .POGOProtos.Map.Fort.GymEvent gym_event = 1;
       */
      public POGOProtos.Map.Fort.GymEventOuterClass.GymEvent.Builder addGymEventBuilder() {
        return getGymEventFieldBuilder().addBuilder(
            POGOProtos.Map.Fort.GymEventOuterClass.GymEvent.getDefaultInstance());
      }
      /**
       * repeated .POGOProtos.Map.Fort.GymEvent gym_event = 1;
       */
      public POGOProtos.Map.Fort.GymEventOuterClass.GymEvent.Builder addGymEventBuilder(
          int index) {
        return getGymEventFieldBuilder().addBuilder(
            index, POGOProtos.Map.Fort.GymEventOuterClass.GymEvent.getDefaultInstance());
      }
      /**
       * repeated .POGOProtos.Map.Fort.GymEvent gym_event = 1;
       */
      public java.util.List 
           getGymEventBuilderList() {
        return getGymEventFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          POGOProtos.Map.Fort.GymEventOuterClass.GymEvent, POGOProtos.Map.Fort.GymEventOuterClass.GymEvent.Builder, POGOProtos.Map.Fort.GymEventOuterClass.GymEventOrBuilder> 
          getGymEventFieldBuilder() {
        if (gymEventBuilder_ == null) {
          gymEventBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              POGOProtos.Map.Fort.GymEventOuterClass.GymEvent, POGOProtos.Map.Fort.GymEventOuterClass.GymEvent.Builder, POGOProtos.Map.Fort.GymEventOuterClass.GymEventOrBuilder>(
                  gymEvent_,
                  ((bitField0_ & 0x00000001) == 0x00000001),
                  getParentForChildren(),
                  isClean());
          gymEvent_ = null;
        }
        return gymEventBuilder_;
      }

      private int totalGymCp_ ;
      /**
       * int32 total_gym_cp = 2;
       */
      public int getTotalGymCp() {
        return totalGymCp_;
      }
      /**
       * int32 total_gym_cp = 2;
       */
      public Builder setTotalGymCp(int value) {
        
        totalGymCp_ = value;
        onChanged();
        return this;
      }
      /**
       * int32 total_gym_cp = 2;
       */
      public Builder clearTotalGymCp() {
        
        totalGymCp_ = 0;
        onChanged();
        return this;
      }

      private double lowestPokemonMotivation_ ;
      /**
       * double lowest_pokemon_motivation = 3;
       */
      public double getLowestPokemonMotivation() {
        return lowestPokemonMotivation_;
      }
      /**
       * double lowest_pokemon_motivation = 3;
       */
      public Builder setLowestPokemonMotivation(double value) {
        
        lowestPokemonMotivation_ = value;
        onChanged();
        return this;
      }
      /**
       * double lowest_pokemon_motivation = 3;
       */
      public Builder clearLowestPokemonMotivation() {
        
        lowestPokemonMotivation_ = 0D;
        onChanged();
        return this;
      }

      private int slotsAvailable_ ;
      /**
       * int32 slots_available = 4;
       */
      public int getSlotsAvailable() {
        return slotsAvailable_;
      }
      /**
       * int32 slots_available = 4;
       */
      public Builder setSlotsAvailable(int value) {
        
        slotsAvailable_ = value;
        onChanged();
        return this;
      }
      /**
       * int32 slots_available = 4;
       */
      public Builder clearSlotsAvailable() {
        
        slotsAvailable_ = 0;
        onChanged();
        return this;
      }

      private long occupiedMillis_ ;
      /**
       * int64 occupied_millis = 5;
       */
      public long getOccupiedMillis() {
        return occupiedMillis_;
      }
      /**
       * int64 occupied_millis = 5;
       */
      public Builder setOccupiedMillis(long value) {
        
        occupiedMillis_ = value;
        onChanged();
        return this;
      }
      /**
       * int64 occupied_millis = 5;
       */
      public Builder clearOccupiedMillis() {
        
        occupiedMillis_ = 0L;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFieldsProto3(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:POGOProtos.Map.Fort.GymDisplay)
    }

    // @@protoc_insertion_point(class_scope:POGOProtos.Map.Fort.GymDisplay)
    private static final POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay();
    }

    public static POGOProtos.Map.Fort.GymDisplayOuterClass.GymDisplay getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_POGOProtos_Map_Fort_GymDisplay_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_POGOProtos_Map_Fort_GymDisplay_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/Map/Fort/GymDisplay.proto\022\023" +
      "POGOProtos.Map.Fort\032\"POGOProtos/Map/Fort" +
      "/GymEvent.proto\"\251\001\n\nGymDisplay\0220\n\tgym_ev" +
      "ent\030\001 \003(\0132\035.POGOProtos.Map.Fort.GymEvent" +
      "\022\024\n\014total_gym_cp\030\002 \001(\005\022!\n\031lowest_pokemon" +
      "_motivation\030\003 \001(\001\022\027\n\017slots_available\030\004 \001" +
      "(\005\022\027\n\017occupied_millis\030\005 \001(\003b\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.Map.Fort.GymEventOuterClass.getDescriptor(),
        }, assigner);
    internal_static_POGOProtos_Map_Fort_GymDisplay_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_POGOProtos_Map_Fort_GymDisplay_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_POGOProtos_Map_Fort_GymDisplay_descriptor,
        new java.lang.String[] { "GymEvent", "TotalGymCp", "LowestPokemonMotivation", "SlotsAvailable", "OccupiedMillis", });
    POGOProtos.Map.Fort.GymEventOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy