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

POGOProtos.Settings.FortSettingsOuterClass Maven / Gradle / Ivy

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

package POGOProtos.Settings;

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

    /**
     * double interaction_range_meters = 1;
     */
    double getInteractionRangeMeters();

    /**
     * int32 max_total_deployed_pokemon = 2;
     */
    int getMaxTotalDeployedPokemon();

    /**
     * int32 max_player_deployed_pokemon = 3;
     */
    int getMaxPlayerDeployedPokemon();

    /**
     * double deploy_stamina_multiplier = 4;
     */
    double getDeployStaminaMultiplier();

    /**
     * double deploy_attack_multiplier = 5;
     */
    double getDeployAttackMultiplier();

    /**
     * double far_interaction_range_meters = 6;
     */
    double getFarInteractionRangeMeters();

    /**
     * bool disable_gyms = 7;
     */
    boolean getDisableGyms();

    /**
     * int32 max_same_pokemon_at_fort = 8;
     */
    int getMaxSamePokemonAtFort();

    /**
     * int32 max_player_total_deployed_pokemon = 9;
     */
    int getMaxPlayerTotalDeployedPokemon();

    /**
     * bool enable_hyperlinks_in_poi_descriptions = 10;
     */
    boolean getEnableHyperlinksInPoiDescriptions();

    /**
     * bool enable_right_to_left_text_display = 11;
     */
    boolean getEnableRightToLeftTextDisplay();
  }
  /**
   * Protobuf type {@code POGOProtos.Settings.FortSettings}
   */
  public  static final class FortSettings extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:POGOProtos.Settings.FortSettings)
      FortSettingsOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use FortSettings.newBuilder() to construct.
    private FortSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private FortSettings() {
      interactionRangeMeters_ = 0D;
      maxTotalDeployedPokemon_ = 0;
      maxPlayerDeployedPokemon_ = 0;
      deployStaminaMultiplier_ = 0D;
      deployAttackMultiplier_ = 0D;
      farInteractionRangeMeters_ = 0D;
      disableGyms_ = false;
      maxSamePokemonAtFort_ = 0;
      maxPlayerTotalDeployedPokemon_ = 0;
      enableHyperlinksInPoiDescriptions_ = false;
      enableRightToLeftTextDisplay_ = false;
    }

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

              interactionRangeMeters_ = input.readDouble();
              break;
            }
            case 16: {

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

              maxPlayerDeployedPokemon_ = input.readInt32();
              break;
            }
            case 33: {

              deployStaminaMultiplier_ = input.readDouble();
              break;
            }
            case 41: {

              deployAttackMultiplier_ = input.readDouble();
              break;
            }
            case 49: {

              farInteractionRangeMeters_ = input.readDouble();
              break;
            }
            case 56: {

              disableGyms_ = input.readBool();
              break;
            }
            case 64: {

              maxSamePokemonAtFort_ = input.readInt32();
              break;
            }
            case 72: {

              maxPlayerTotalDeployedPokemon_ = input.readInt32();
              break;
            }
            case 80: {

              enableHyperlinksInPoiDescriptions_ = input.readBool();
              break;
            }
            case 88: {

              enableRightToLeftTextDisplay_ = input.readBool();
              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.FortSettingsOuterClass.internal_static_POGOProtos_Settings_FortSettings_descriptor;
    }

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

    public static final int INTERACTION_RANGE_METERS_FIELD_NUMBER = 1;
    private double interactionRangeMeters_;
    /**
     * double interaction_range_meters = 1;
     */
    public double getInteractionRangeMeters() {
      return interactionRangeMeters_;
    }

    public static final int MAX_TOTAL_DEPLOYED_POKEMON_FIELD_NUMBER = 2;
    private int maxTotalDeployedPokemon_;
    /**
     * int32 max_total_deployed_pokemon = 2;
     */
    public int getMaxTotalDeployedPokemon() {
      return maxTotalDeployedPokemon_;
    }

    public static final int MAX_PLAYER_DEPLOYED_POKEMON_FIELD_NUMBER = 3;
    private int maxPlayerDeployedPokemon_;
    /**
     * int32 max_player_deployed_pokemon = 3;
     */
    public int getMaxPlayerDeployedPokemon() {
      return maxPlayerDeployedPokemon_;
    }

    public static final int DEPLOY_STAMINA_MULTIPLIER_FIELD_NUMBER = 4;
    private double deployStaminaMultiplier_;
    /**
     * double deploy_stamina_multiplier = 4;
     */
    public double getDeployStaminaMultiplier() {
      return deployStaminaMultiplier_;
    }

    public static final int DEPLOY_ATTACK_MULTIPLIER_FIELD_NUMBER = 5;
    private double deployAttackMultiplier_;
    /**
     * double deploy_attack_multiplier = 5;
     */
    public double getDeployAttackMultiplier() {
      return deployAttackMultiplier_;
    }

    public static final int FAR_INTERACTION_RANGE_METERS_FIELD_NUMBER = 6;
    private double farInteractionRangeMeters_;
    /**
     * double far_interaction_range_meters = 6;
     */
    public double getFarInteractionRangeMeters() {
      return farInteractionRangeMeters_;
    }

    public static final int DISABLE_GYMS_FIELD_NUMBER = 7;
    private boolean disableGyms_;
    /**
     * bool disable_gyms = 7;
     */
    public boolean getDisableGyms() {
      return disableGyms_;
    }

    public static final int MAX_SAME_POKEMON_AT_FORT_FIELD_NUMBER = 8;
    private int maxSamePokemonAtFort_;
    /**
     * int32 max_same_pokemon_at_fort = 8;
     */
    public int getMaxSamePokemonAtFort() {
      return maxSamePokemonAtFort_;
    }

    public static final int MAX_PLAYER_TOTAL_DEPLOYED_POKEMON_FIELD_NUMBER = 9;
    private int maxPlayerTotalDeployedPokemon_;
    /**
     * int32 max_player_total_deployed_pokemon = 9;
     */
    public int getMaxPlayerTotalDeployedPokemon() {
      return maxPlayerTotalDeployedPokemon_;
    }

    public static final int ENABLE_HYPERLINKS_IN_POI_DESCRIPTIONS_FIELD_NUMBER = 10;
    private boolean enableHyperlinksInPoiDescriptions_;
    /**
     * bool enable_hyperlinks_in_poi_descriptions = 10;
     */
    public boolean getEnableHyperlinksInPoiDescriptions() {
      return enableHyperlinksInPoiDescriptions_;
    }

    public static final int ENABLE_RIGHT_TO_LEFT_TEXT_DISPLAY_FIELD_NUMBER = 11;
    private boolean enableRightToLeftTextDisplay_;
    /**
     * bool enable_right_to_left_text_display = 11;
     */
    public boolean getEnableRightToLeftTextDisplay() {
      return enableRightToLeftTextDisplay_;
    }

    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 (interactionRangeMeters_ != 0D) {
        output.writeDouble(1, interactionRangeMeters_);
      }
      if (maxTotalDeployedPokemon_ != 0) {
        output.writeInt32(2, maxTotalDeployedPokemon_);
      }
      if (maxPlayerDeployedPokemon_ != 0) {
        output.writeInt32(3, maxPlayerDeployedPokemon_);
      }
      if (deployStaminaMultiplier_ != 0D) {
        output.writeDouble(4, deployStaminaMultiplier_);
      }
      if (deployAttackMultiplier_ != 0D) {
        output.writeDouble(5, deployAttackMultiplier_);
      }
      if (farInteractionRangeMeters_ != 0D) {
        output.writeDouble(6, farInteractionRangeMeters_);
      }
      if (disableGyms_ != false) {
        output.writeBool(7, disableGyms_);
      }
      if (maxSamePokemonAtFort_ != 0) {
        output.writeInt32(8, maxSamePokemonAtFort_);
      }
      if (maxPlayerTotalDeployedPokemon_ != 0) {
        output.writeInt32(9, maxPlayerTotalDeployedPokemon_);
      }
      if (enableHyperlinksInPoiDescriptions_ != false) {
        output.writeBool(10, enableHyperlinksInPoiDescriptions_);
      }
      if (enableRightToLeftTextDisplay_ != false) {
        output.writeBool(11, enableRightToLeftTextDisplay_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (interactionRangeMeters_ != 0D) {
        size += com.google.protobuf.CodedOutputStream
          .computeDoubleSize(1, interactionRangeMeters_);
      }
      if (maxTotalDeployedPokemon_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(2, maxTotalDeployedPokemon_);
      }
      if (maxPlayerDeployedPokemon_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(3, maxPlayerDeployedPokemon_);
      }
      if (deployStaminaMultiplier_ != 0D) {
        size += com.google.protobuf.CodedOutputStream
          .computeDoubleSize(4, deployStaminaMultiplier_);
      }
      if (deployAttackMultiplier_ != 0D) {
        size += com.google.protobuf.CodedOutputStream
          .computeDoubleSize(5, deployAttackMultiplier_);
      }
      if (farInteractionRangeMeters_ != 0D) {
        size += com.google.protobuf.CodedOutputStream
          .computeDoubleSize(6, farInteractionRangeMeters_);
      }
      if (disableGyms_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(7, disableGyms_);
      }
      if (maxSamePokemonAtFort_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(8, maxSamePokemonAtFort_);
      }
      if (maxPlayerTotalDeployedPokemon_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(9, maxPlayerTotalDeployedPokemon_);
      }
      if (enableHyperlinksInPoiDescriptions_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(10, enableHyperlinksInPoiDescriptions_);
      }
      if (enableRightToLeftTextDisplay_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(11, enableRightToLeftTextDisplay_);
      }
      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.FortSettingsOuterClass.FortSettings)) {
        return super.equals(obj);
      }
      POGOProtos.Settings.FortSettingsOuterClass.FortSettings other = (POGOProtos.Settings.FortSettingsOuterClass.FortSettings) obj;

      boolean result = true;
      result = result && (
          java.lang.Double.doubleToLongBits(getInteractionRangeMeters())
          == java.lang.Double.doubleToLongBits(
              other.getInteractionRangeMeters()));
      result = result && (getMaxTotalDeployedPokemon()
          == other.getMaxTotalDeployedPokemon());
      result = result && (getMaxPlayerDeployedPokemon()
          == other.getMaxPlayerDeployedPokemon());
      result = result && (
          java.lang.Double.doubleToLongBits(getDeployStaminaMultiplier())
          == java.lang.Double.doubleToLongBits(
              other.getDeployStaminaMultiplier()));
      result = result && (
          java.lang.Double.doubleToLongBits(getDeployAttackMultiplier())
          == java.lang.Double.doubleToLongBits(
              other.getDeployAttackMultiplier()));
      result = result && (
          java.lang.Double.doubleToLongBits(getFarInteractionRangeMeters())
          == java.lang.Double.doubleToLongBits(
              other.getFarInteractionRangeMeters()));
      result = result && (getDisableGyms()
          == other.getDisableGyms());
      result = result && (getMaxSamePokemonAtFort()
          == other.getMaxSamePokemonAtFort());
      result = result && (getMaxPlayerTotalDeployedPokemon()
          == other.getMaxPlayerTotalDeployedPokemon());
      result = result && (getEnableHyperlinksInPoiDescriptions()
          == other.getEnableHyperlinksInPoiDescriptions());
      result = result && (getEnableRightToLeftTextDisplay()
          == other.getEnableRightToLeftTextDisplay());
      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) + INTERACTION_RANGE_METERS_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          java.lang.Double.doubleToLongBits(getInteractionRangeMeters()));
      hash = (37 * hash) + MAX_TOTAL_DEPLOYED_POKEMON_FIELD_NUMBER;
      hash = (53 * hash) + getMaxTotalDeployedPokemon();
      hash = (37 * hash) + MAX_PLAYER_DEPLOYED_POKEMON_FIELD_NUMBER;
      hash = (53 * hash) + getMaxPlayerDeployedPokemon();
      hash = (37 * hash) + DEPLOY_STAMINA_MULTIPLIER_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          java.lang.Double.doubleToLongBits(getDeployStaminaMultiplier()));
      hash = (37 * hash) + DEPLOY_ATTACK_MULTIPLIER_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          java.lang.Double.doubleToLongBits(getDeployAttackMultiplier()));
      hash = (37 * hash) + FAR_INTERACTION_RANGE_METERS_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          java.lang.Double.doubleToLongBits(getFarInteractionRangeMeters()));
      hash = (37 * hash) + DISABLE_GYMS_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getDisableGyms());
      hash = (37 * hash) + MAX_SAME_POKEMON_AT_FORT_FIELD_NUMBER;
      hash = (53 * hash) + getMaxSamePokemonAtFort();
      hash = (37 * hash) + MAX_PLAYER_TOTAL_DEPLOYED_POKEMON_FIELD_NUMBER;
      hash = (53 * hash) + getMaxPlayerTotalDeployedPokemon();
      hash = (37 * hash) + ENABLE_HYPERLINKS_IN_POI_DESCRIPTIONS_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getEnableHyperlinksInPoiDescriptions());
      hash = (37 * hash) + ENABLE_RIGHT_TO_LEFT_TEXT_DISPLAY_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getEnableRightToLeftTextDisplay());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

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

      // Construct using POGOProtos.Settings.FortSettingsOuterClass.FortSettings.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();
        interactionRangeMeters_ = 0D;

        maxTotalDeployedPokemon_ = 0;

        maxPlayerDeployedPokemon_ = 0;

        deployStaminaMultiplier_ = 0D;

        deployAttackMultiplier_ = 0D;

        farInteractionRangeMeters_ = 0D;

        disableGyms_ = false;

        maxSamePokemonAtFort_ = 0;

        maxPlayerTotalDeployedPokemon_ = 0;

        enableHyperlinksInPoiDescriptions_ = false;

        enableRightToLeftTextDisplay_ = false;

        return this;
      }

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

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

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

      @java.lang.Override
      public POGOProtos.Settings.FortSettingsOuterClass.FortSettings buildPartial() {
        POGOProtos.Settings.FortSettingsOuterClass.FortSettings result = new POGOProtos.Settings.FortSettingsOuterClass.FortSettings(this);
        result.interactionRangeMeters_ = interactionRangeMeters_;
        result.maxTotalDeployedPokemon_ = maxTotalDeployedPokemon_;
        result.maxPlayerDeployedPokemon_ = maxPlayerDeployedPokemon_;
        result.deployStaminaMultiplier_ = deployStaminaMultiplier_;
        result.deployAttackMultiplier_ = deployAttackMultiplier_;
        result.farInteractionRangeMeters_ = farInteractionRangeMeters_;
        result.disableGyms_ = disableGyms_;
        result.maxSamePokemonAtFort_ = maxSamePokemonAtFort_;
        result.maxPlayerTotalDeployedPokemon_ = maxPlayerTotalDeployedPokemon_;
        result.enableHyperlinksInPoiDescriptions_ = enableHyperlinksInPoiDescriptions_;
        result.enableRightToLeftTextDisplay_ = enableRightToLeftTextDisplay_;
        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.FortSettingsOuterClass.FortSettings) {
          return mergeFrom((POGOProtos.Settings.FortSettingsOuterClass.FortSettings)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(POGOProtos.Settings.FortSettingsOuterClass.FortSettings other) {
        if (other == POGOProtos.Settings.FortSettingsOuterClass.FortSettings.getDefaultInstance()) return this;
        if (other.getInteractionRangeMeters() != 0D) {
          setInteractionRangeMeters(other.getInteractionRangeMeters());
        }
        if (other.getMaxTotalDeployedPokemon() != 0) {
          setMaxTotalDeployedPokemon(other.getMaxTotalDeployedPokemon());
        }
        if (other.getMaxPlayerDeployedPokemon() != 0) {
          setMaxPlayerDeployedPokemon(other.getMaxPlayerDeployedPokemon());
        }
        if (other.getDeployStaminaMultiplier() != 0D) {
          setDeployStaminaMultiplier(other.getDeployStaminaMultiplier());
        }
        if (other.getDeployAttackMultiplier() != 0D) {
          setDeployAttackMultiplier(other.getDeployAttackMultiplier());
        }
        if (other.getFarInteractionRangeMeters() != 0D) {
          setFarInteractionRangeMeters(other.getFarInteractionRangeMeters());
        }
        if (other.getDisableGyms() != false) {
          setDisableGyms(other.getDisableGyms());
        }
        if (other.getMaxSamePokemonAtFort() != 0) {
          setMaxSamePokemonAtFort(other.getMaxSamePokemonAtFort());
        }
        if (other.getMaxPlayerTotalDeployedPokemon() != 0) {
          setMaxPlayerTotalDeployedPokemon(other.getMaxPlayerTotalDeployedPokemon());
        }
        if (other.getEnableHyperlinksInPoiDescriptions() != false) {
          setEnableHyperlinksInPoiDescriptions(other.getEnableHyperlinksInPoiDescriptions());
        }
        if (other.getEnableRightToLeftTextDisplay() != false) {
          setEnableRightToLeftTextDisplay(other.getEnableRightToLeftTextDisplay());
        }
        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.FortSettingsOuterClass.FortSettings parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (POGOProtos.Settings.FortSettingsOuterClass.FortSettings) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private double interactionRangeMeters_ ;
      /**
       * double interaction_range_meters = 1;
       */
      public double getInteractionRangeMeters() {
        return interactionRangeMeters_;
      }
      /**
       * double interaction_range_meters = 1;
       */
      public Builder setInteractionRangeMeters(double value) {
        
        interactionRangeMeters_ = value;
        onChanged();
        return this;
      }
      /**
       * double interaction_range_meters = 1;
       */
      public Builder clearInteractionRangeMeters() {
        
        interactionRangeMeters_ = 0D;
        onChanged();
        return this;
      }

      private int maxTotalDeployedPokemon_ ;
      /**
       * int32 max_total_deployed_pokemon = 2;
       */
      public int getMaxTotalDeployedPokemon() {
        return maxTotalDeployedPokemon_;
      }
      /**
       * int32 max_total_deployed_pokemon = 2;
       */
      public Builder setMaxTotalDeployedPokemon(int value) {
        
        maxTotalDeployedPokemon_ = value;
        onChanged();
        return this;
      }
      /**
       * int32 max_total_deployed_pokemon = 2;
       */
      public Builder clearMaxTotalDeployedPokemon() {
        
        maxTotalDeployedPokemon_ = 0;
        onChanged();
        return this;
      }

      private int maxPlayerDeployedPokemon_ ;
      /**
       * int32 max_player_deployed_pokemon = 3;
       */
      public int getMaxPlayerDeployedPokemon() {
        return maxPlayerDeployedPokemon_;
      }
      /**
       * int32 max_player_deployed_pokemon = 3;
       */
      public Builder setMaxPlayerDeployedPokemon(int value) {
        
        maxPlayerDeployedPokemon_ = value;
        onChanged();
        return this;
      }
      /**
       * int32 max_player_deployed_pokemon = 3;
       */
      public Builder clearMaxPlayerDeployedPokemon() {
        
        maxPlayerDeployedPokemon_ = 0;
        onChanged();
        return this;
      }

      private double deployStaminaMultiplier_ ;
      /**
       * double deploy_stamina_multiplier = 4;
       */
      public double getDeployStaminaMultiplier() {
        return deployStaminaMultiplier_;
      }
      /**
       * double deploy_stamina_multiplier = 4;
       */
      public Builder setDeployStaminaMultiplier(double value) {
        
        deployStaminaMultiplier_ = value;
        onChanged();
        return this;
      }
      /**
       * double deploy_stamina_multiplier = 4;
       */
      public Builder clearDeployStaminaMultiplier() {
        
        deployStaminaMultiplier_ = 0D;
        onChanged();
        return this;
      }

      private double deployAttackMultiplier_ ;
      /**
       * double deploy_attack_multiplier = 5;
       */
      public double getDeployAttackMultiplier() {
        return deployAttackMultiplier_;
      }
      /**
       * double deploy_attack_multiplier = 5;
       */
      public Builder setDeployAttackMultiplier(double value) {
        
        deployAttackMultiplier_ = value;
        onChanged();
        return this;
      }
      /**
       * double deploy_attack_multiplier = 5;
       */
      public Builder clearDeployAttackMultiplier() {
        
        deployAttackMultiplier_ = 0D;
        onChanged();
        return this;
      }

      private double farInteractionRangeMeters_ ;
      /**
       * double far_interaction_range_meters = 6;
       */
      public double getFarInteractionRangeMeters() {
        return farInteractionRangeMeters_;
      }
      /**
       * double far_interaction_range_meters = 6;
       */
      public Builder setFarInteractionRangeMeters(double value) {
        
        farInteractionRangeMeters_ = value;
        onChanged();
        return this;
      }
      /**
       * double far_interaction_range_meters = 6;
       */
      public Builder clearFarInteractionRangeMeters() {
        
        farInteractionRangeMeters_ = 0D;
        onChanged();
        return this;
      }

      private boolean disableGyms_ ;
      /**
       * bool disable_gyms = 7;
       */
      public boolean getDisableGyms() {
        return disableGyms_;
      }
      /**
       * bool disable_gyms = 7;
       */
      public Builder setDisableGyms(boolean value) {
        
        disableGyms_ = value;
        onChanged();
        return this;
      }
      /**
       * bool disable_gyms = 7;
       */
      public Builder clearDisableGyms() {
        
        disableGyms_ = false;
        onChanged();
        return this;
      }

      private int maxSamePokemonAtFort_ ;
      /**
       * int32 max_same_pokemon_at_fort = 8;
       */
      public int getMaxSamePokemonAtFort() {
        return maxSamePokemonAtFort_;
      }
      /**
       * int32 max_same_pokemon_at_fort = 8;
       */
      public Builder setMaxSamePokemonAtFort(int value) {
        
        maxSamePokemonAtFort_ = value;
        onChanged();
        return this;
      }
      /**
       * int32 max_same_pokemon_at_fort = 8;
       */
      public Builder clearMaxSamePokemonAtFort() {
        
        maxSamePokemonAtFort_ = 0;
        onChanged();
        return this;
      }

      private int maxPlayerTotalDeployedPokemon_ ;
      /**
       * int32 max_player_total_deployed_pokemon = 9;
       */
      public int getMaxPlayerTotalDeployedPokemon() {
        return maxPlayerTotalDeployedPokemon_;
      }
      /**
       * int32 max_player_total_deployed_pokemon = 9;
       */
      public Builder setMaxPlayerTotalDeployedPokemon(int value) {
        
        maxPlayerTotalDeployedPokemon_ = value;
        onChanged();
        return this;
      }
      /**
       * int32 max_player_total_deployed_pokemon = 9;
       */
      public Builder clearMaxPlayerTotalDeployedPokemon() {
        
        maxPlayerTotalDeployedPokemon_ = 0;
        onChanged();
        return this;
      }

      private boolean enableHyperlinksInPoiDescriptions_ ;
      /**
       * bool enable_hyperlinks_in_poi_descriptions = 10;
       */
      public boolean getEnableHyperlinksInPoiDescriptions() {
        return enableHyperlinksInPoiDescriptions_;
      }
      /**
       * bool enable_hyperlinks_in_poi_descriptions = 10;
       */
      public Builder setEnableHyperlinksInPoiDescriptions(boolean value) {
        
        enableHyperlinksInPoiDescriptions_ = value;
        onChanged();
        return this;
      }
      /**
       * bool enable_hyperlinks_in_poi_descriptions = 10;
       */
      public Builder clearEnableHyperlinksInPoiDescriptions() {
        
        enableHyperlinksInPoiDescriptions_ = false;
        onChanged();
        return this;
      }

      private boolean enableRightToLeftTextDisplay_ ;
      /**
       * bool enable_right_to_left_text_display = 11;
       */
      public boolean getEnableRightToLeftTextDisplay() {
        return enableRightToLeftTextDisplay_;
      }
      /**
       * bool enable_right_to_left_text_display = 11;
       */
      public Builder setEnableRightToLeftTextDisplay(boolean value) {
        
        enableRightToLeftTextDisplay_ = value;
        onChanged();
        return this;
      }
      /**
       * bool enable_right_to_left_text_display = 11;
       */
      public Builder clearEnableRightToLeftTextDisplay() {
        
        enableRightToLeftTextDisplay_ = false;
        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.FortSettings)
    }

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

    public static POGOProtos.Settings.FortSettingsOuterClass.FortSettings getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_POGOProtos_Settings_FortSettings_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_POGOProtos_Settings_FortSettings_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/FortSettings.proto" +
      "\022\023POGOProtos.Settings\"\241\003\n\014FortSettings\022 " +
      "\n\030interaction_range_meters\030\001 \001(\001\022\"\n\032max_" +
      "total_deployed_pokemon\030\002 \001(\005\022#\n\033max_play" +
      "er_deployed_pokemon\030\003 \001(\005\022!\n\031deploy_stam" +
      "ina_multiplier\030\004 \001(\001\022 \n\030deploy_attack_mu" +
      "ltiplier\030\005 \001(\001\022$\n\034far_interaction_range_" +
      "meters\030\006 \001(\001\022\024\n\014disable_gyms\030\007 \001(\010\022 \n\030ma" +
      "x_same_pokemon_at_fort\030\010 \001(\005\022)\n!max_play" +
      "er_total_deployed_pokemon\030\t \001(\005\022-\n%enabl" +
      "e_hyperlinks_in_poi_descriptions\030\n \001(\010\022)" +
      "\n!enable_right_to_left_text_display\030\013 \001(" +
      "\010b\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_FortSettings_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_POGOProtos_Settings_FortSettings_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_POGOProtos_Settings_FortSettings_descriptor,
        new java.lang.String[] { "InteractionRangeMeters", "MaxTotalDeployedPokemon", "MaxPlayerDeployedPokemon", "DeployStaminaMultiplier", "DeployAttackMultiplier", "FarInteractionRangeMeters", "DisableGyms", "MaxSamePokemonAtFort", "MaxPlayerTotalDeployedPokemon", "EnableHyperlinksInPoiDescriptions", "EnableRightToLeftTextDisplay", });
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy