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

POGOProtos.Settings.InventorySettingsOuterClass Maven / Gradle / Ivy

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

package POGOProtos.Settings;

public final class InventorySettingsOuterClass {
  private InventorySettingsOuterClass() {}
  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 InventorySettingsOrBuilder extends
      // @@protoc_insertion_point(interface_extends:POGOProtos.Settings.InventorySettings)
      com.google.protobuf.MessageOrBuilder {

    /**
     * int32 max_pokemon = 1;
     */
    int getMaxPokemon();

    /**
     * int32 max_bag_items = 2;
     */
    int getMaxBagItems();

    /**
     * int32 base_pokemon = 3;
     */
    int getBasePokemon();

    /**
     * int32 base_bag_items = 4;
     */
    int getBaseBagItems();

    /**
     * int32 base_eggs = 5;
     */
    int getBaseEggs();

    /**
     * int32 max_team_changes = 6;
     */
    int getMaxTeamChanges();

    /**
     * int64 team_change_item_reset_period_in_days = 7;
     */
    long getTeamChangeItemResetPeriodInDays();
  }
  /**
   * Protobuf type {@code POGOProtos.Settings.InventorySettings}
   */
  public  static final class InventorySettings extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:POGOProtos.Settings.InventorySettings)
      InventorySettingsOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use InventorySettings.newBuilder() to construct.
    private InventorySettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private InventorySettings() {
      maxPokemon_ = 0;
      maxBagItems_ = 0;
      basePokemon_ = 0;
      baseBagItems_ = 0;
      baseEggs_ = 0;
      maxTeamChanges_ = 0;
      teamChangeItemResetPeriodInDays_ = 0L;
    }

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

              maxPokemon_ = input.readInt32();
              break;
            }
            case 16: {

              maxBagItems_ = input.readInt32();
              break;
            }
            case 24: {

              basePokemon_ = input.readInt32();
              break;
            }
            case 32: {

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

              baseEggs_ = input.readInt32();
              break;
            }
            case 48: {

              maxTeamChanges_ = input.readInt32();
              break;
            }
            case 56: {

              teamChangeItemResetPeriodInDays_ = 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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return POGOProtos.Settings.InventorySettingsOuterClass.internal_static_POGOProtos_Settings_InventorySettings_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return POGOProtos.Settings.InventorySettingsOuterClass.internal_static_POGOProtos_Settings_InventorySettings_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              POGOProtos.Settings.InventorySettingsOuterClass.InventorySettings.class, POGOProtos.Settings.InventorySettingsOuterClass.InventorySettings.Builder.class);
    }

    public static final int MAX_POKEMON_FIELD_NUMBER = 1;
    private int maxPokemon_;
    /**
     * int32 max_pokemon = 1;
     */
    public int getMaxPokemon() {
      return maxPokemon_;
    }

    public static final int MAX_BAG_ITEMS_FIELD_NUMBER = 2;
    private int maxBagItems_;
    /**
     * int32 max_bag_items = 2;
     */
    public int getMaxBagItems() {
      return maxBagItems_;
    }

    public static final int BASE_POKEMON_FIELD_NUMBER = 3;
    private int basePokemon_;
    /**
     * int32 base_pokemon = 3;
     */
    public int getBasePokemon() {
      return basePokemon_;
    }

    public static final int BASE_BAG_ITEMS_FIELD_NUMBER = 4;
    private int baseBagItems_;
    /**
     * int32 base_bag_items = 4;
     */
    public int getBaseBagItems() {
      return baseBagItems_;
    }

    public static final int BASE_EGGS_FIELD_NUMBER = 5;
    private int baseEggs_;
    /**
     * int32 base_eggs = 5;
     */
    public int getBaseEggs() {
      return baseEggs_;
    }

    public static final int MAX_TEAM_CHANGES_FIELD_NUMBER = 6;
    private int maxTeamChanges_;
    /**
     * int32 max_team_changes = 6;
     */
    public int getMaxTeamChanges() {
      return maxTeamChanges_;
    }

    public static final int TEAM_CHANGE_ITEM_RESET_PERIOD_IN_DAYS_FIELD_NUMBER = 7;
    private long teamChangeItemResetPeriodInDays_;
    /**
     * int64 team_change_item_reset_period_in_days = 7;
     */
    public long getTeamChangeItemResetPeriodInDays() {
      return teamChangeItemResetPeriodInDays_;
    }

    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 (maxPokemon_ != 0) {
        output.writeInt32(1, maxPokemon_);
      }
      if (maxBagItems_ != 0) {
        output.writeInt32(2, maxBagItems_);
      }
      if (basePokemon_ != 0) {
        output.writeInt32(3, basePokemon_);
      }
      if (baseBagItems_ != 0) {
        output.writeInt32(4, baseBagItems_);
      }
      if (baseEggs_ != 0) {
        output.writeInt32(5, baseEggs_);
      }
      if (maxTeamChanges_ != 0) {
        output.writeInt32(6, maxTeamChanges_);
      }
      if (teamChangeItemResetPeriodInDays_ != 0L) {
        output.writeInt64(7, teamChangeItemResetPeriodInDays_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (maxPokemon_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(1, maxPokemon_);
      }
      if (maxBagItems_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(2, maxBagItems_);
      }
      if (basePokemon_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(3, basePokemon_);
      }
      if (baseBagItems_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(4, baseBagItems_);
      }
      if (baseEggs_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(5, baseEggs_);
      }
      if (maxTeamChanges_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(6, maxTeamChanges_);
      }
      if (teamChangeItemResetPeriodInDays_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(7, teamChangeItemResetPeriodInDays_);
      }
      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.Settings.InventorySettingsOuterClass.InventorySettings)) {
        return super.equals(obj);
      }
      POGOProtos.Settings.InventorySettingsOuterClass.InventorySettings other = (POGOProtos.Settings.InventorySettingsOuterClass.InventorySettings) obj;

      boolean result = true;
      result = result && (getMaxPokemon()
          == other.getMaxPokemon());
      result = result && (getMaxBagItems()
          == other.getMaxBagItems());
      result = result && (getBasePokemon()
          == other.getBasePokemon());
      result = result && (getBaseBagItems()
          == other.getBaseBagItems());
      result = result && (getBaseEggs()
          == other.getBaseEggs());
      result = result && (getMaxTeamChanges()
          == other.getMaxTeamChanges());
      result = result && (getTeamChangeItemResetPeriodInDays()
          == other.getTeamChangeItemResetPeriodInDays());
      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) + MAX_POKEMON_FIELD_NUMBER;
      hash = (53 * hash) + getMaxPokemon();
      hash = (37 * hash) + MAX_BAG_ITEMS_FIELD_NUMBER;
      hash = (53 * hash) + getMaxBagItems();
      hash = (37 * hash) + BASE_POKEMON_FIELD_NUMBER;
      hash = (53 * hash) + getBasePokemon();
      hash = (37 * hash) + BASE_BAG_ITEMS_FIELD_NUMBER;
      hash = (53 * hash) + getBaseBagItems();
      hash = (37 * hash) + BASE_EGGS_FIELD_NUMBER;
      hash = (53 * hash) + getBaseEggs();
      hash = (37 * hash) + MAX_TEAM_CHANGES_FIELD_NUMBER;
      hash = (53 * hash) + getMaxTeamChanges();
      hash = (37 * hash) + TEAM_CHANGE_ITEM_RESET_PERIOD_IN_DAYS_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getTeamChangeItemResetPeriodInDays());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return POGOProtos.Settings.InventorySettingsOuterClass.internal_static_POGOProtos_Settings_InventorySettings_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                POGOProtos.Settings.InventorySettingsOuterClass.InventorySettings.class, POGOProtos.Settings.InventorySettingsOuterClass.InventorySettings.Builder.class);
      }

      // Construct using POGOProtos.Settings.InventorySettingsOuterClass.InventorySettings.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();
        maxPokemon_ = 0;

        maxBagItems_ = 0;

        basePokemon_ = 0;

        baseBagItems_ = 0;

        baseEggs_ = 0;

        maxTeamChanges_ = 0;

        teamChangeItemResetPeriodInDays_ = 0L;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return POGOProtos.Settings.InventorySettingsOuterClass.internal_static_POGOProtos_Settings_InventorySettings_descriptor;
      }

      @java.lang.Override
      public POGOProtos.Settings.InventorySettingsOuterClass.InventorySettings getDefaultInstanceForType() {
        return POGOProtos.Settings.InventorySettingsOuterClass.InventorySettings.getDefaultInstance();
      }

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

      @java.lang.Override
      public POGOProtos.Settings.InventorySettingsOuterClass.InventorySettings buildPartial() {
        POGOProtos.Settings.InventorySettingsOuterClass.InventorySettings result = new POGOProtos.Settings.InventorySettingsOuterClass.InventorySettings(this);
        result.maxPokemon_ = maxPokemon_;
        result.maxBagItems_ = maxBagItems_;
        result.basePokemon_ = basePokemon_;
        result.baseBagItems_ = baseBagItems_;
        result.baseEggs_ = baseEggs_;
        result.maxTeamChanges_ = maxTeamChanges_;
        result.teamChangeItemResetPeriodInDays_ = teamChangeItemResetPeriodInDays_;
        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.Settings.InventorySettingsOuterClass.InventorySettings) {
          return mergeFrom((POGOProtos.Settings.InventorySettingsOuterClass.InventorySettings)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(POGOProtos.Settings.InventorySettingsOuterClass.InventorySettings other) {
        if (other == POGOProtos.Settings.InventorySettingsOuterClass.InventorySettings.getDefaultInstance()) return this;
        if (other.getMaxPokemon() != 0) {
          setMaxPokemon(other.getMaxPokemon());
        }
        if (other.getMaxBagItems() != 0) {
          setMaxBagItems(other.getMaxBagItems());
        }
        if (other.getBasePokemon() != 0) {
          setBasePokemon(other.getBasePokemon());
        }
        if (other.getBaseBagItems() != 0) {
          setBaseBagItems(other.getBaseBagItems());
        }
        if (other.getBaseEggs() != 0) {
          setBaseEggs(other.getBaseEggs());
        }
        if (other.getMaxTeamChanges() != 0) {
          setMaxTeamChanges(other.getMaxTeamChanges());
        }
        if (other.getTeamChangeItemResetPeriodInDays() != 0L) {
          setTeamChangeItemResetPeriodInDays(other.getTeamChangeItemResetPeriodInDays());
        }
        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.Settings.InventorySettingsOuterClass.InventorySettings parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (POGOProtos.Settings.InventorySettingsOuterClass.InventorySettings) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private int maxPokemon_ ;
      /**
       * int32 max_pokemon = 1;
       */
      public int getMaxPokemon() {
        return maxPokemon_;
      }
      /**
       * int32 max_pokemon = 1;
       */
      public Builder setMaxPokemon(int value) {
        
        maxPokemon_ = value;
        onChanged();
        return this;
      }
      /**
       * int32 max_pokemon = 1;
       */
      public Builder clearMaxPokemon() {
        
        maxPokemon_ = 0;
        onChanged();
        return this;
      }

      private int maxBagItems_ ;
      /**
       * int32 max_bag_items = 2;
       */
      public int getMaxBagItems() {
        return maxBagItems_;
      }
      /**
       * int32 max_bag_items = 2;
       */
      public Builder setMaxBagItems(int value) {
        
        maxBagItems_ = value;
        onChanged();
        return this;
      }
      /**
       * int32 max_bag_items = 2;
       */
      public Builder clearMaxBagItems() {
        
        maxBagItems_ = 0;
        onChanged();
        return this;
      }

      private int basePokemon_ ;
      /**
       * int32 base_pokemon = 3;
       */
      public int getBasePokemon() {
        return basePokemon_;
      }
      /**
       * int32 base_pokemon = 3;
       */
      public Builder setBasePokemon(int value) {
        
        basePokemon_ = value;
        onChanged();
        return this;
      }
      /**
       * int32 base_pokemon = 3;
       */
      public Builder clearBasePokemon() {
        
        basePokemon_ = 0;
        onChanged();
        return this;
      }

      private int baseBagItems_ ;
      /**
       * int32 base_bag_items = 4;
       */
      public int getBaseBagItems() {
        return baseBagItems_;
      }
      /**
       * int32 base_bag_items = 4;
       */
      public Builder setBaseBagItems(int value) {
        
        baseBagItems_ = value;
        onChanged();
        return this;
      }
      /**
       * int32 base_bag_items = 4;
       */
      public Builder clearBaseBagItems() {
        
        baseBagItems_ = 0;
        onChanged();
        return this;
      }

      private int baseEggs_ ;
      /**
       * int32 base_eggs = 5;
       */
      public int getBaseEggs() {
        return baseEggs_;
      }
      /**
       * int32 base_eggs = 5;
       */
      public Builder setBaseEggs(int value) {
        
        baseEggs_ = value;
        onChanged();
        return this;
      }
      /**
       * int32 base_eggs = 5;
       */
      public Builder clearBaseEggs() {
        
        baseEggs_ = 0;
        onChanged();
        return this;
      }

      private int maxTeamChanges_ ;
      /**
       * int32 max_team_changes = 6;
       */
      public int getMaxTeamChanges() {
        return maxTeamChanges_;
      }
      /**
       * int32 max_team_changes = 6;
       */
      public Builder setMaxTeamChanges(int value) {
        
        maxTeamChanges_ = value;
        onChanged();
        return this;
      }
      /**
       * int32 max_team_changes = 6;
       */
      public Builder clearMaxTeamChanges() {
        
        maxTeamChanges_ = 0;
        onChanged();
        return this;
      }

      private long teamChangeItemResetPeriodInDays_ ;
      /**
       * int64 team_change_item_reset_period_in_days = 7;
       */
      public long getTeamChangeItemResetPeriodInDays() {
        return teamChangeItemResetPeriodInDays_;
      }
      /**
       * int64 team_change_item_reset_period_in_days = 7;
       */
      public Builder setTeamChangeItemResetPeriodInDays(long value) {
        
        teamChangeItemResetPeriodInDays_ = value;
        onChanged();
        return this;
      }
      /**
       * int64 team_change_item_reset_period_in_days = 7;
       */
      public Builder clearTeamChangeItemResetPeriodInDays() {
        
        teamChangeItemResetPeriodInDays_ = 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.Settings.InventorySettings)
    }

    // @@protoc_insertion_point(class_scope:POGOProtos.Settings.InventorySettings)
    private static final POGOProtos.Settings.InventorySettingsOuterClass.InventorySettings DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new POGOProtos.Settings.InventorySettingsOuterClass.InventorySettings();
    }

    public static POGOProtos.Settings.InventorySettingsOuterClass.InventorySettings getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_POGOProtos_Settings_InventorySettings_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_POGOProtos_Settings_InventorySettings_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/Settings/InventorySettings." +
      "proto\022\023POGOProtos.Settings\"\311\001\n\021Inventory" +
      "Settings\022\023\n\013max_pokemon\030\001 \001(\005\022\025\n\rmax_bag" +
      "_items\030\002 \001(\005\022\024\n\014base_pokemon\030\003 \001(\005\022\026\n\016ba" +
      "se_bag_items\030\004 \001(\005\022\021\n\tbase_eggs\030\005 \001(\005\022\030\n" +
      "\020max_team_changes\030\006 \001(\005\022-\n%team_change_i" +
      "tem_reset_period_in_days\030\007 \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[] {
        }, assigner);
    internal_static_POGOProtos_Settings_InventorySettings_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_POGOProtos_Settings_InventorySettings_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_POGOProtos_Settings_InventorySettings_descriptor,
        new java.lang.String[] { "MaxPokemon", "MaxBagItems", "BasePokemon", "BaseBagItems", "BaseEggs", "MaxTeamChanges", "TeamChangeItemResetPeriodInDays", });
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy