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

POGOProtos.Data.Combat.UnlockConditionOuterClass Maven / Gradle / Ivy

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

package POGOProtos.Data.Combat;

public final class UnlockConditionOuterClass {
  private UnlockConditionOuterClass() {}
  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 UnlockConditionOrBuilder extends
      // @@protoc_insertion_point(interface_extends:POGOProtos.Data.Combat.UnlockCondition)
      com.google.protobuf.MessageOrBuilder {

    /**
     * .POGOProtos.Enums.ConditionType type = 1;
     */
    int getTypeValue();
    /**
     * .POGOProtos.Enums.ConditionType type = 1;
     */
    POGOProtos.Enums.ConditionTypeOuterClass.ConditionType getType();

    /**
     * int32 min_pokemon_count = 2;
     */
    int getMinPokemonCount();

    /**
     * .POGOProtos.Data.Combat.WithPlayerLevel with_player_level = 3;
     */
    boolean hasWithPlayerLevel();
    /**
     * .POGOProtos.Data.Combat.WithPlayerLevel with_player_level = 3;
     */
    POGOProtos.Data.Combat.WithPlayerLevelOuterClass.WithPlayerLevel getWithPlayerLevel();
    /**
     * .POGOProtos.Data.Combat.WithPlayerLevel with_player_level = 3;
     */
    POGOProtos.Data.Combat.WithPlayerLevelOuterClass.WithPlayerLevelOrBuilder getWithPlayerLevelOrBuilder();

    /**
     * .POGOProtos.Data.Combat.WithPokemonCpLimit with_pokemon_cp_limit = 4;
     */
    boolean hasWithPokemonCpLimit();
    /**
     * .POGOProtos.Data.Combat.WithPokemonCpLimit with_pokemon_cp_limit = 4;
     */
    POGOProtos.Data.Combat.WithPokemonCpLimitOuterClass.WithPokemonCpLimit getWithPokemonCpLimit();
    /**
     * .POGOProtos.Data.Combat.WithPokemonCpLimit with_pokemon_cp_limit = 4;
     */
    POGOProtos.Data.Combat.WithPokemonCpLimitOuterClass.WithPokemonCpLimitOrBuilder getWithPokemonCpLimitOrBuilder();

    /**
     * .POGOProtos.Data.Combat.WithPokemonType with_pokemon_type = 5;
     */
    boolean hasWithPokemonType();
    /**
     * .POGOProtos.Data.Combat.WithPokemonType with_pokemon_type = 5;
     */
    POGOProtos.Data.Combat.WithPokemonTypeOuterClass.WithPokemonType getWithPokemonType();
    /**
     * .POGOProtos.Data.Combat.WithPokemonType with_pokemon_type = 5;
     */
    POGOProtos.Data.Combat.WithPokemonTypeOuterClass.WithPokemonTypeOrBuilder getWithPokemonTypeOrBuilder();

    /**
     * .POGOProtos.Data.Combat.WithPokemonCategory with_pokemon_category = 6;
     */
    boolean hasWithPokemonCategory();
    /**
     * .POGOProtos.Data.Combat.WithPokemonCategory with_pokemon_category = 6;
     */
    POGOProtos.Data.Combat.WithPokemonCategoryOuterClass.WithPokemonCategory getWithPokemonCategory();
    /**
     * .POGOProtos.Data.Combat.WithPokemonCategory with_pokemon_category = 6;
     */
    POGOProtos.Data.Combat.WithPokemonCategoryOuterClass.WithPokemonCategoryOrBuilder getWithPokemonCategoryOrBuilder();
  }
  /**
   * Protobuf type {@code POGOProtos.Data.Combat.UnlockCondition}
   */
  public  static final class UnlockCondition extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:POGOProtos.Data.Combat.UnlockCondition)
      UnlockConditionOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use UnlockCondition.newBuilder() to construct.
    private UnlockCondition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private UnlockCondition() {
      type_ = 0;
      minPokemonCount_ = 0;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private UnlockCondition(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 8: {
              int rawValue = input.readEnum();

              type_ = rawValue;
              break;
            }
            case 16: {

              minPokemonCount_ = input.readInt32();
              break;
            }
            case 26: {
              POGOProtos.Data.Combat.WithPlayerLevelOuterClass.WithPlayerLevel.Builder subBuilder = null;
              if (withPlayerLevel_ != null) {
                subBuilder = withPlayerLevel_.toBuilder();
              }
              withPlayerLevel_ = input.readMessage(POGOProtos.Data.Combat.WithPlayerLevelOuterClass.WithPlayerLevel.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(withPlayerLevel_);
                withPlayerLevel_ = subBuilder.buildPartial();
              }

              break;
            }
            case 34: {
              POGOProtos.Data.Combat.WithPokemonCpLimitOuterClass.WithPokemonCpLimit.Builder subBuilder = null;
              if (withPokemonCpLimit_ != null) {
                subBuilder = withPokemonCpLimit_.toBuilder();
              }
              withPokemonCpLimit_ = input.readMessage(POGOProtos.Data.Combat.WithPokemonCpLimitOuterClass.WithPokemonCpLimit.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(withPokemonCpLimit_);
                withPokemonCpLimit_ = subBuilder.buildPartial();
              }

              break;
            }
            case 42: {
              POGOProtos.Data.Combat.WithPokemonTypeOuterClass.WithPokemonType.Builder subBuilder = null;
              if (withPokemonType_ != null) {
                subBuilder = withPokemonType_.toBuilder();
              }
              withPokemonType_ = input.readMessage(POGOProtos.Data.Combat.WithPokemonTypeOuterClass.WithPokemonType.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(withPokemonType_);
                withPokemonType_ = subBuilder.buildPartial();
              }

              break;
            }
            case 50: {
              POGOProtos.Data.Combat.WithPokemonCategoryOuterClass.WithPokemonCategory.Builder subBuilder = null;
              if (withPokemonCategory_ != null) {
                subBuilder = withPokemonCategory_.toBuilder();
              }
              withPokemonCategory_ = input.readMessage(POGOProtos.Data.Combat.WithPokemonCategoryOuterClass.WithPokemonCategory.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(withPokemonCategory_);
                withPokemonCategory_ = subBuilder.buildPartial();
              }

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

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return POGOProtos.Data.Combat.UnlockConditionOuterClass.internal_static_POGOProtos_Data_Combat_UnlockCondition_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              POGOProtos.Data.Combat.UnlockConditionOuterClass.UnlockCondition.class, POGOProtos.Data.Combat.UnlockConditionOuterClass.UnlockCondition.Builder.class);
    }

    public static final int TYPE_FIELD_NUMBER = 1;
    private int type_;
    /**
     * .POGOProtos.Enums.ConditionType type = 1;
     */
    public int getTypeValue() {
      return type_;
    }
    /**
     * .POGOProtos.Enums.ConditionType type = 1;
     */
    public POGOProtos.Enums.ConditionTypeOuterClass.ConditionType getType() {
      @SuppressWarnings("deprecation")
      POGOProtos.Enums.ConditionTypeOuterClass.ConditionType result = POGOProtos.Enums.ConditionTypeOuterClass.ConditionType.valueOf(type_);
      return result == null ? POGOProtos.Enums.ConditionTypeOuterClass.ConditionType.UNRECOGNIZED : result;
    }

    public static final int MIN_POKEMON_COUNT_FIELD_NUMBER = 2;
    private int minPokemonCount_;
    /**
     * int32 min_pokemon_count = 2;
     */
    public int getMinPokemonCount() {
      return minPokemonCount_;
    }

    public static final int WITH_PLAYER_LEVEL_FIELD_NUMBER = 3;
    private POGOProtos.Data.Combat.WithPlayerLevelOuterClass.WithPlayerLevel withPlayerLevel_;
    /**
     * .POGOProtos.Data.Combat.WithPlayerLevel with_player_level = 3;
     */
    public boolean hasWithPlayerLevel() {
      return withPlayerLevel_ != null;
    }
    /**
     * .POGOProtos.Data.Combat.WithPlayerLevel with_player_level = 3;
     */
    public POGOProtos.Data.Combat.WithPlayerLevelOuterClass.WithPlayerLevel getWithPlayerLevel() {
      return withPlayerLevel_ == null ? POGOProtos.Data.Combat.WithPlayerLevelOuterClass.WithPlayerLevel.getDefaultInstance() : withPlayerLevel_;
    }
    /**
     * .POGOProtos.Data.Combat.WithPlayerLevel with_player_level = 3;
     */
    public POGOProtos.Data.Combat.WithPlayerLevelOuterClass.WithPlayerLevelOrBuilder getWithPlayerLevelOrBuilder() {
      return getWithPlayerLevel();
    }

    public static final int WITH_POKEMON_CP_LIMIT_FIELD_NUMBER = 4;
    private POGOProtos.Data.Combat.WithPokemonCpLimitOuterClass.WithPokemonCpLimit withPokemonCpLimit_;
    /**
     * .POGOProtos.Data.Combat.WithPokemonCpLimit with_pokemon_cp_limit = 4;
     */
    public boolean hasWithPokemonCpLimit() {
      return withPokemonCpLimit_ != null;
    }
    /**
     * .POGOProtos.Data.Combat.WithPokemonCpLimit with_pokemon_cp_limit = 4;
     */
    public POGOProtos.Data.Combat.WithPokemonCpLimitOuterClass.WithPokemonCpLimit getWithPokemonCpLimit() {
      return withPokemonCpLimit_ == null ? POGOProtos.Data.Combat.WithPokemonCpLimitOuterClass.WithPokemonCpLimit.getDefaultInstance() : withPokemonCpLimit_;
    }
    /**
     * .POGOProtos.Data.Combat.WithPokemonCpLimit with_pokemon_cp_limit = 4;
     */
    public POGOProtos.Data.Combat.WithPokemonCpLimitOuterClass.WithPokemonCpLimitOrBuilder getWithPokemonCpLimitOrBuilder() {
      return getWithPokemonCpLimit();
    }

    public static final int WITH_POKEMON_TYPE_FIELD_NUMBER = 5;
    private POGOProtos.Data.Combat.WithPokemonTypeOuterClass.WithPokemonType withPokemonType_;
    /**
     * .POGOProtos.Data.Combat.WithPokemonType with_pokemon_type = 5;
     */
    public boolean hasWithPokemonType() {
      return withPokemonType_ != null;
    }
    /**
     * .POGOProtos.Data.Combat.WithPokemonType with_pokemon_type = 5;
     */
    public POGOProtos.Data.Combat.WithPokemonTypeOuterClass.WithPokemonType getWithPokemonType() {
      return withPokemonType_ == null ? POGOProtos.Data.Combat.WithPokemonTypeOuterClass.WithPokemonType.getDefaultInstance() : withPokemonType_;
    }
    /**
     * .POGOProtos.Data.Combat.WithPokemonType with_pokemon_type = 5;
     */
    public POGOProtos.Data.Combat.WithPokemonTypeOuterClass.WithPokemonTypeOrBuilder getWithPokemonTypeOrBuilder() {
      return getWithPokemonType();
    }

    public static final int WITH_POKEMON_CATEGORY_FIELD_NUMBER = 6;
    private POGOProtos.Data.Combat.WithPokemonCategoryOuterClass.WithPokemonCategory withPokemonCategory_;
    /**
     * .POGOProtos.Data.Combat.WithPokemonCategory with_pokemon_category = 6;
     */
    public boolean hasWithPokemonCategory() {
      return withPokemonCategory_ != null;
    }
    /**
     * .POGOProtos.Data.Combat.WithPokemonCategory with_pokemon_category = 6;
     */
    public POGOProtos.Data.Combat.WithPokemonCategoryOuterClass.WithPokemonCategory getWithPokemonCategory() {
      return withPokemonCategory_ == null ? POGOProtos.Data.Combat.WithPokemonCategoryOuterClass.WithPokemonCategory.getDefaultInstance() : withPokemonCategory_;
    }
    /**
     * .POGOProtos.Data.Combat.WithPokemonCategory with_pokemon_category = 6;
     */
    public POGOProtos.Data.Combat.WithPokemonCategoryOuterClass.WithPokemonCategoryOrBuilder getWithPokemonCategoryOrBuilder() {
      return getWithPokemonCategory();
    }

    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 (type_ != POGOProtos.Enums.ConditionTypeOuterClass.ConditionType.UNSET_CONDITION.getNumber()) {
        output.writeEnum(1, type_);
      }
      if (minPokemonCount_ != 0) {
        output.writeInt32(2, minPokemonCount_);
      }
      if (withPlayerLevel_ != null) {
        output.writeMessage(3, getWithPlayerLevel());
      }
      if (withPokemonCpLimit_ != null) {
        output.writeMessage(4, getWithPokemonCpLimit());
      }
      if (withPokemonType_ != null) {
        output.writeMessage(5, getWithPokemonType());
      }
      if (withPokemonCategory_ != null) {
        output.writeMessage(6, getWithPokemonCategory());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (type_ != POGOProtos.Enums.ConditionTypeOuterClass.ConditionType.UNSET_CONDITION.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(1, type_);
      }
      if (minPokemonCount_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(2, minPokemonCount_);
      }
      if (withPlayerLevel_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, getWithPlayerLevel());
      }
      if (withPokemonCpLimit_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(4, getWithPokemonCpLimit());
      }
      if (withPokemonType_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(5, getWithPokemonType());
      }
      if (withPokemonCategory_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(6, getWithPokemonCategory());
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

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

      boolean result = true;
      result = result && type_ == other.type_;
      result = result && (getMinPokemonCount()
          == other.getMinPokemonCount());
      result = result && (hasWithPlayerLevel() == other.hasWithPlayerLevel());
      if (hasWithPlayerLevel()) {
        result = result && getWithPlayerLevel()
            .equals(other.getWithPlayerLevel());
      }
      result = result && (hasWithPokemonCpLimit() == other.hasWithPokemonCpLimit());
      if (hasWithPokemonCpLimit()) {
        result = result && getWithPokemonCpLimit()
            .equals(other.getWithPokemonCpLimit());
      }
      result = result && (hasWithPokemonType() == other.hasWithPokemonType());
      if (hasWithPokemonType()) {
        result = result && getWithPokemonType()
            .equals(other.getWithPokemonType());
      }
      result = result && (hasWithPokemonCategory() == other.hasWithPokemonCategory());
      if (hasWithPokemonCategory()) {
        result = result && getWithPokemonCategory()
            .equals(other.getWithPokemonCategory());
      }
      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) + TYPE_FIELD_NUMBER;
      hash = (53 * hash) + type_;
      hash = (37 * hash) + MIN_POKEMON_COUNT_FIELD_NUMBER;
      hash = (53 * hash) + getMinPokemonCount();
      if (hasWithPlayerLevel()) {
        hash = (37 * hash) + WITH_PLAYER_LEVEL_FIELD_NUMBER;
        hash = (53 * hash) + getWithPlayerLevel().hashCode();
      }
      if (hasWithPokemonCpLimit()) {
        hash = (37 * hash) + WITH_POKEMON_CP_LIMIT_FIELD_NUMBER;
        hash = (53 * hash) + getWithPokemonCpLimit().hashCode();
      }
      if (hasWithPokemonType()) {
        hash = (37 * hash) + WITH_POKEMON_TYPE_FIELD_NUMBER;
        hash = (53 * hash) + getWithPokemonType().hashCode();
      }
      if (hasWithPokemonCategory()) {
        hash = (37 * hash) + WITH_POKEMON_CATEGORY_FIELD_NUMBER;
        hash = (53 * hash) + getWithPokemonCategory().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

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

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return POGOProtos.Data.Combat.UnlockConditionOuterClass.internal_static_POGOProtos_Data_Combat_UnlockCondition_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                POGOProtos.Data.Combat.UnlockConditionOuterClass.UnlockCondition.class, POGOProtos.Data.Combat.UnlockConditionOuterClass.UnlockCondition.Builder.class);
      }

      // Construct using POGOProtos.Data.Combat.UnlockConditionOuterClass.UnlockCondition.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();
        type_ = 0;

        minPokemonCount_ = 0;

        if (withPlayerLevelBuilder_ == null) {
          withPlayerLevel_ = null;
        } else {
          withPlayerLevel_ = null;
          withPlayerLevelBuilder_ = null;
        }
        if (withPokemonCpLimitBuilder_ == null) {
          withPokemonCpLimit_ = null;
        } else {
          withPokemonCpLimit_ = null;
          withPokemonCpLimitBuilder_ = null;
        }
        if (withPokemonTypeBuilder_ == null) {
          withPokemonType_ = null;
        } else {
          withPokemonType_ = null;
          withPokemonTypeBuilder_ = null;
        }
        if (withPokemonCategoryBuilder_ == null) {
          withPokemonCategory_ = null;
        } else {
          withPokemonCategory_ = null;
          withPokemonCategoryBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return POGOProtos.Data.Combat.UnlockConditionOuterClass.internal_static_POGOProtos_Data_Combat_UnlockCondition_descriptor;
      }

      @java.lang.Override
      public POGOProtos.Data.Combat.UnlockConditionOuterClass.UnlockCondition getDefaultInstanceForType() {
        return POGOProtos.Data.Combat.UnlockConditionOuterClass.UnlockCondition.getDefaultInstance();
      }

      @java.lang.Override
      public POGOProtos.Data.Combat.UnlockConditionOuterClass.UnlockCondition build() {
        POGOProtos.Data.Combat.UnlockConditionOuterClass.UnlockCondition result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public POGOProtos.Data.Combat.UnlockConditionOuterClass.UnlockCondition buildPartial() {
        POGOProtos.Data.Combat.UnlockConditionOuterClass.UnlockCondition result = new POGOProtos.Data.Combat.UnlockConditionOuterClass.UnlockCondition(this);
        result.type_ = type_;
        result.minPokemonCount_ = minPokemonCount_;
        if (withPlayerLevelBuilder_ == null) {
          result.withPlayerLevel_ = withPlayerLevel_;
        } else {
          result.withPlayerLevel_ = withPlayerLevelBuilder_.build();
        }
        if (withPokemonCpLimitBuilder_ == null) {
          result.withPokemonCpLimit_ = withPokemonCpLimit_;
        } else {
          result.withPokemonCpLimit_ = withPokemonCpLimitBuilder_.build();
        }
        if (withPokemonTypeBuilder_ == null) {
          result.withPokemonType_ = withPokemonType_;
        } else {
          result.withPokemonType_ = withPokemonTypeBuilder_.build();
        }
        if (withPokemonCategoryBuilder_ == null) {
          result.withPokemonCategory_ = withPokemonCategory_;
        } else {
          result.withPokemonCategory_ = withPokemonCategoryBuilder_.build();
        }
        onBuilt();
        return result;
      }

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

      public Builder mergeFrom(POGOProtos.Data.Combat.UnlockConditionOuterClass.UnlockCondition other) {
        if (other == POGOProtos.Data.Combat.UnlockConditionOuterClass.UnlockCondition.getDefaultInstance()) return this;
        if (other.type_ != 0) {
          setTypeValue(other.getTypeValue());
        }
        if (other.getMinPokemonCount() != 0) {
          setMinPokemonCount(other.getMinPokemonCount());
        }
        if (other.hasWithPlayerLevel()) {
          mergeWithPlayerLevel(other.getWithPlayerLevel());
        }
        if (other.hasWithPokemonCpLimit()) {
          mergeWithPokemonCpLimit(other.getWithPokemonCpLimit());
        }
        if (other.hasWithPokemonType()) {
          mergeWithPokemonType(other.getWithPokemonType());
        }
        if (other.hasWithPokemonCategory()) {
          mergeWithPokemonCategory(other.getWithPokemonCategory());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

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

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

      private int type_ = 0;
      /**
       * .POGOProtos.Enums.ConditionType type = 1;
       */
      public int getTypeValue() {
        return type_;
      }
      /**
       * .POGOProtos.Enums.ConditionType type = 1;
       */
      public Builder setTypeValue(int value) {
        type_ = value;
        onChanged();
        return this;
      }
      /**
       * .POGOProtos.Enums.ConditionType type = 1;
       */
      public POGOProtos.Enums.ConditionTypeOuterClass.ConditionType getType() {
        @SuppressWarnings("deprecation")
        POGOProtos.Enums.ConditionTypeOuterClass.ConditionType result = POGOProtos.Enums.ConditionTypeOuterClass.ConditionType.valueOf(type_);
        return result == null ? POGOProtos.Enums.ConditionTypeOuterClass.ConditionType.UNRECOGNIZED : result;
      }
      /**
       * .POGOProtos.Enums.ConditionType type = 1;
       */
      public Builder setType(POGOProtos.Enums.ConditionTypeOuterClass.ConditionType value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        type_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * .POGOProtos.Enums.ConditionType type = 1;
       */
      public Builder clearType() {
        
        type_ = 0;
        onChanged();
        return this;
      }

      private int minPokemonCount_ ;
      /**
       * int32 min_pokemon_count = 2;
       */
      public int getMinPokemonCount() {
        return minPokemonCount_;
      }
      /**
       * int32 min_pokemon_count = 2;
       */
      public Builder setMinPokemonCount(int value) {
        
        minPokemonCount_ = value;
        onChanged();
        return this;
      }
      /**
       * int32 min_pokemon_count = 2;
       */
      public Builder clearMinPokemonCount() {
        
        minPokemonCount_ = 0;
        onChanged();
        return this;
      }

      private POGOProtos.Data.Combat.WithPlayerLevelOuterClass.WithPlayerLevel withPlayerLevel_ = null;
      private com.google.protobuf.SingleFieldBuilderV3<
          POGOProtos.Data.Combat.WithPlayerLevelOuterClass.WithPlayerLevel, POGOProtos.Data.Combat.WithPlayerLevelOuterClass.WithPlayerLevel.Builder, POGOProtos.Data.Combat.WithPlayerLevelOuterClass.WithPlayerLevelOrBuilder> withPlayerLevelBuilder_;
      /**
       * .POGOProtos.Data.Combat.WithPlayerLevel with_player_level = 3;
       */
      public boolean hasWithPlayerLevel() {
        return withPlayerLevelBuilder_ != null || withPlayerLevel_ != null;
      }
      /**
       * .POGOProtos.Data.Combat.WithPlayerLevel with_player_level = 3;
       */
      public POGOProtos.Data.Combat.WithPlayerLevelOuterClass.WithPlayerLevel getWithPlayerLevel() {
        if (withPlayerLevelBuilder_ == null) {
          return withPlayerLevel_ == null ? POGOProtos.Data.Combat.WithPlayerLevelOuterClass.WithPlayerLevel.getDefaultInstance() : withPlayerLevel_;
        } else {
          return withPlayerLevelBuilder_.getMessage();
        }
      }
      /**
       * .POGOProtos.Data.Combat.WithPlayerLevel with_player_level = 3;
       */
      public Builder setWithPlayerLevel(POGOProtos.Data.Combat.WithPlayerLevelOuterClass.WithPlayerLevel value) {
        if (withPlayerLevelBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          withPlayerLevel_ = value;
          onChanged();
        } else {
          withPlayerLevelBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Combat.WithPlayerLevel with_player_level = 3;
       */
      public Builder setWithPlayerLevel(
          POGOProtos.Data.Combat.WithPlayerLevelOuterClass.WithPlayerLevel.Builder builderForValue) {
        if (withPlayerLevelBuilder_ == null) {
          withPlayerLevel_ = builderForValue.build();
          onChanged();
        } else {
          withPlayerLevelBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Combat.WithPlayerLevel with_player_level = 3;
       */
      public Builder mergeWithPlayerLevel(POGOProtos.Data.Combat.WithPlayerLevelOuterClass.WithPlayerLevel value) {
        if (withPlayerLevelBuilder_ == null) {
          if (withPlayerLevel_ != null) {
            withPlayerLevel_ =
              POGOProtos.Data.Combat.WithPlayerLevelOuterClass.WithPlayerLevel.newBuilder(withPlayerLevel_).mergeFrom(value).buildPartial();
          } else {
            withPlayerLevel_ = value;
          }
          onChanged();
        } else {
          withPlayerLevelBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Combat.WithPlayerLevel with_player_level = 3;
       */
      public Builder clearWithPlayerLevel() {
        if (withPlayerLevelBuilder_ == null) {
          withPlayerLevel_ = null;
          onChanged();
        } else {
          withPlayerLevel_ = null;
          withPlayerLevelBuilder_ = null;
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Combat.WithPlayerLevel with_player_level = 3;
       */
      public POGOProtos.Data.Combat.WithPlayerLevelOuterClass.WithPlayerLevel.Builder getWithPlayerLevelBuilder() {
        
        onChanged();
        return getWithPlayerLevelFieldBuilder().getBuilder();
      }
      /**
       * .POGOProtos.Data.Combat.WithPlayerLevel with_player_level = 3;
       */
      public POGOProtos.Data.Combat.WithPlayerLevelOuterClass.WithPlayerLevelOrBuilder getWithPlayerLevelOrBuilder() {
        if (withPlayerLevelBuilder_ != null) {
          return withPlayerLevelBuilder_.getMessageOrBuilder();
        } else {
          return withPlayerLevel_ == null ?
              POGOProtos.Data.Combat.WithPlayerLevelOuterClass.WithPlayerLevel.getDefaultInstance() : withPlayerLevel_;
        }
      }
      /**
       * .POGOProtos.Data.Combat.WithPlayerLevel with_player_level = 3;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          POGOProtos.Data.Combat.WithPlayerLevelOuterClass.WithPlayerLevel, POGOProtos.Data.Combat.WithPlayerLevelOuterClass.WithPlayerLevel.Builder, POGOProtos.Data.Combat.WithPlayerLevelOuterClass.WithPlayerLevelOrBuilder> 
          getWithPlayerLevelFieldBuilder() {
        if (withPlayerLevelBuilder_ == null) {
          withPlayerLevelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              POGOProtos.Data.Combat.WithPlayerLevelOuterClass.WithPlayerLevel, POGOProtos.Data.Combat.WithPlayerLevelOuterClass.WithPlayerLevel.Builder, POGOProtos.Data.Combat.WithPlayerLevelOuterClass.WithPlayerLevelOrBuilder>(
                  getWithPlayerLevel(),
                  getParentForChildren(),
                  isClean());
          withPlayerLevel_ = null;
        }
        return withPlayerLevelBuilder_;
      }

      private POGOProtos.Data.Combat.WithPokemonCpLimitOuterClass.WithPokemonCpLimit withPokemonCpLimit_ = null;
      private com.google.protobuf.SingleFieldBuilderV3<
          POGOProtos.Data.Combat.WithPokemonCpLimitOuterClass.WithPokemonCpLimit, POGOProtos.Data.Combat.WithPokemonCpLimitOuterClass.WithPokemonCpLimit.Builder, POGOProtos.Data.Combat.WithPokemonCpLimitOuterClass.WithPokemonCpLimitOrBuilder> withPokemonCpLimitBuilder_;
      /**
       * .POGOProtos.Data.Combat.WithPokemonCpLimit with_pokemon_cp_limit = 4;
       */
      public boolean hasWithPokemonCpLimit() {
        return withPokemonCpLimitBuilder_ != null || withPokemonCpLimit_ != null;
      }
      /**
       * .POGOProtos.Data.Combat.WithPokemonCpLimit with_pokemon_cp_limit = 4;
       */
      public POGOProtos.Data.Combat.WithPokemonCpLimitOuterClass.WithPokemonCpLimit getWithPokemonCpLimit() {
        if (withPokemonCpLimitBuilder_ == null) {
          return withPokemonCpLimit_ == null ? POGOProtos.Data.Combat.WithPokemonCpLimitOuterClass.WithPokemonCpLimit.getDefaultInstance() : withPokemonCpLimit_;
        } else {
          return withPokemonCpLimitBuilder_.getMessage();
        }
      }
      /**
       * .POGOProtos.Data.Combat.WithPokemonCpLimit with_pokemon_cp_limit = 4;
       */
      public Builder setWithPokemonCpLimit(POGOProtos.Data.Combat.WithPokemonCpLimitOuterClass.WithPokemonCpLimit value) {
        if (withPokemonCpLimitBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          withPokemonCpLimit_ = value;
          onChanged();
        } else {
          withPokemonCpLimitBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Combat.WithPokemonCpLimit with_pokemon_cp_limit = 4;
       */
      public Builder setWithPokemonCpLimit(
          POGOProtos.Data.Combat.WithPokemonCpLimitOuterClass.WithPokemonCpLimit.Builder builderForValue) {
        if (withPokemonCpLimitBuilder_ == null) {
          withPokemonCpLimit_ = builderForValue.build();
          onChanged();
        } else {
          withPokemonCpLimitBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Combat.WithPokemonCpLimit with_pokemon_cp_limit = 4;
       */
      public Builder mergeWithPokemonCpLimit(POGOProtos.Data.Combat.WithPokemonCpLimitOuterClass.WithPokemonCpLimit value) {
        if (withPokemonCpLimitBuilder_ == null) {
          if (withPokemonCpLimit_ != null) {
            withPokemonCpLimit_ =
              POGOProtos.Data.Combat.WithPokemonCpLimitOuterClass.WithPokemonCpLimit.newBuilder(withPokemonCpLimit_).mergeFrom(value).buildPartial();
          } else {
            withPokemonCpLimit_ = value;
          }
          onChanged();
        } else {
          withPokemonCpLimitBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Combat.WithPokemonCpLimit with_pokemon_cp_limit = 4;
       */
      public Builder clearWithPokemonCpLimit() {
        if (withPokemonCpLimitBuilder_ == null) {
          withPokemonCpLimit_ = null;
          onChanged();
        } else {
          withPokemonCpLimit_ = null;
          withPokemonCpLimitBuilder_ = null;
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Combat.WithPokemonCpLimit with_pokemon_cp_limit = 4;
       */
      public POGOProtos.Data.Combat.WithPokemonCpLimitOuterClass.WithPokemonCpLimit.Builder getWithPokemonCpLimitBuilder() {
        
        onChanged();
        return getWithPokemonCpLimitFieldBuilder().getBuilder();
      }
      /**
       * .POGOProtos.Data.Combat.WithPokemonCpLimit with_pokemon_cp_limit = 4;
       */
      public POGOProtos.Data.Combat.WithPokemonCpLimitOuterClass.WithPokemonCpLimitOrBuilder getWithPokemonCpLimitOrBuilder() {
        if (withPokemonCpLimitBuilder_ != null) {
          return withPokemonCpLimitBuilder_.getMessageOrBuilder();
        } else {
          return withPokemonCpLimit_ == null ?
              POGOProtos.Data.Combat.WithPokemonCpLimitOuterClass.WithPokemonCpLimit.getDefaultInstance() : withPokemonCpLimit_;
        }
      }
      /**
       * .POGOProtos.Data.Combat.WithPokemonCpLimit with_pokemon_cp_limit = 4;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          POGOProtos.Data.Combat.WithPokemonCpLimitOuterClass.WithPokemonCpLimit, POGOProtos.Data.Combat.WithPokemonCpLimitOuterClass.WithPokemonCpLimit.Builder, POGOProtos.Data.Combat.WithPokemonCpLimitOuterClass.WithPokemonCpLimitOrBuilder> 
          getWithPokemonCpLimitFieldBuilder() {
        if (withPokemonCpLimitBuilder_ == null) {
          withPokemonCpLimitBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              POGOProtos.Data.Combat.WithPokemonCpLimitOuterClass.WithPokemonCpLimit, POGOProtos.Data.Combat.WithPokemonCpLimitOuterClass.WithPokemonCpLimit.Builder, POGOProtos.Data.Combat.WithPokemonCpLimitOuterClass.WithPokemonCpLimitOrBuilder>(
                  getWithPokemonCpLimit(),
                  getParentForChildren(),
                  isClean());
          withPokemonCpLimit_ = null;
        }
        return withPokemonCpLimitBuilder_;
      }

      private POGOProtos.Data.Combat.WithPokemonTypeOuterClass.WithPokemonType withPokemonType_ = null;
      private com.google.protobuf.SingleFieldBuilderV3<
          POGOProtos.Data.Combat.WithPokemonTypeOuterClass.WithPokemonType, POGOProtos.Data.Combat.WithPokemonTypeOuterClass.WithPokemonType.Builder, POGOProtos.Data.Combat.WithPokemonTypeOuterClass.WithPokemonTypeOrBuilder> withPokemonTypeBuilder_;
      /**
       * .POGOProtos.Data.Combat.WithPokemonType with_pokemon_type = 5;
       */
      public boolean hasWithPokemonType() {
        return withPokemonTypeBuilder_ != null || withPokemonType_ != null;
      }
      /**
       * .POGOProtos.Data.Combat.WithPokemonType with_pokemon_type = 5;
       */
      public POGOProtos.Data.Combat.WithPokemonTypeOuterClass.WithPokemonType getWithPokemonType() {
        if (withPokemonTypeBuilder_ == null) {
          return withPokemonType_ == null ? POGOProtos.Data.Combat.WithPokemonTypeOuterClass.WithPokemonType.getDefaultInstance() : withPokemonType_;
        } else {
          return withPokemonTypeBuilder_.getMessage();
        }
      }
      /**
       * .POGOProtos.Data.Combat.WithPokemonType with_pokemon_type = 5;
       */
      public Builder setWithPokemonType(POGOProtos.Data.Combat.WithPokemonTypeOuterClass.WithPokemonType value) {
        if (withPokemonTypeBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          withPokemonType_ = value;
          onChanged();
        } else {
          withPokemonTypeBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Combat.WithPokemonType with_pokemon_type = 5;
       */
      public Builder setWithPokemonType(
          POGOProtos.Data.Combat.WithPokemonTypeOuterClass.WithPokemonType.Builder builderForValue) {
        if (withPokemonTypeBuilder_ == null) {
          withPokemonType_ = builderForValue.build();
          onChanged();
        } else {
          withPokemonTypeBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Combat.WithPokemonType with_pokemon_type = 5;
       */
      public Builder mergeWithPokemonType(POGOProtos.Data.Combat.WithPokemonTypeOuterClass.WithPokemonType value) {
        if (withPokemonTypeBuilder_ == null) {
          if (withPokemonType_ != null) {
            withPokemonType_ =
              POGOProtos.Data.Combat.WithPokemonTypeOuterClass.WithPokemonType.newBuilder(withPokemonType_).mergeFrom(value).buildPartial();
          } else {
            withPokemonType_ = value;
          }
          onChanged();
        } else {
          withPokemonTypeBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Combat.WithPokemonType with_pokemon_type = 5;
       */
      public Builder clearWithPokemonType() {
        if (withPokemonTypeBuilder_ == null) {
          withPokemonType_ = null;
          onChanged();
        } else {
          withPokemonType_ = null;
          withPokemonTypeBuilder_ = null;
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Combat.WithPokemonType with_pokemon_type = 5;
       */
      public POGOProtos.Data.Combat.WithPokemonTypeOuterClass.WithPokemonType.Builder getWithPokemonTypeBuilder() {
        
        onChanged();
        return getWithPokemonTypeFieldBuilder().getBuilder();
      }
      /**
       * .POGOProtos.Data.Combat.WithPokemonType with_pokemon_type = 5;
       */
      public POGOProtos.Data.Combat.WithPokemonTypeOuterClass.WithPokemonTypeOrBuilder getWithPokemonTypeOrBuilder() {
        if (withPokemonTypeBuilder_ != null) {
          return withPokemonTypeBuilder_.getMessageOrBuilder();
        } else {
          return withPokemonType_ == null ?
              POGOProtos.Data.Combat.WithPokemonTypeOuterClass.WithPokemonType.getDefaultInstance() : withPokemonType_;
        }
      }
      /**
       * .POGOProtos.Data.Combat.WithPokemonType with_pokemon_type = 5;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          POGOProtos.Data.Combat.WithPokemonTypeOuterClass.WithPokemonType, POGOProtos.Data.Combat.WithPokemonTypeOuterClass.WithPokemonType.Builder, POGOProtos.Data.Combat.WithPokemonTypeOuterClass.WithPokemonTypeOrBuilder> 
          getWithPokemonTypeFieldBuilder() {
        if (withPokemonTypeBuilder_ == null) {
          withPokemonTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              POGOProtos.Data.Combat.WithPokemonTypeOuterClass.WithPokemonType, POGOProtos.Data.Combat.WithPokemonTypeOuterClass.WithPokemonType.Builder, POGOProtos.Data.Combat.WithPokemonTypeOuterClass.WithPokemonTypeOrBuilder>(
                  getWithPokemonType(),
                  getParentForChildren(),
                  isClean());
          withPokemonType_ = null;
        }
        return withPokemonTypeBuilder_;
      }

      private POGOProtos.Data.Combat.WithPokemonCategoryOuterClass.WithPokemonCategory withPokemonCategory_ = null;
      private com.google.protobuf.SingleFieldBuilderV3<
          POGOProtos.Data.Combat.WithPokemonCategoryOuterClass.WithPokemonCategory, POGOProtos.Data.Combat.WithPokemonCategoryOuterClass.WithPokemonCategory.Builder, POGOProtos.Data.Combat.WithPokemonCategoryOuterClass.WithPokemonCategoryOrBuilder> withPokemonCategoryBuilder_;
      /**
       * .POGOProtos.Data.Combat.WithPokemonCategory with_pokemon_category = 6;
       */
      public boolean hasWithPokemonCategory() {
        return withPokemonCategoryBuilder_ != null || withPokemonCategory_ != null;
      }
      /**
       * .POGOProtos.Data.Combat.WithPokemonCategory with_pokemon_category = 6;
       */
      public POGOProtos.Data.Combat.WithPokemonCategoryOuterClass.WithPokemonCategory getWithPokemonCategory() {
        if (withPokemonCategoryBuilder_ == null) {
          return withPokemonCategory_ == null ? POGOProtos.Data.Combat.WithPokemonCategoryOuterClass.WithPokemonCategory.getDefaultInstance() : withPokemonCategory_;
        } else {
          return withPokemonCategoryBuilder_.getMessage();
        }
      }
      /**
       * .POGOProtos.Data.Combat.WithPokemonCategory with_pokemon_category = 6;
       */
      public Builder setWithPokemonCategory(POGOProtos.Data.Combat.WithPokemonCategoryOuterClass.WithPokemonCategory value) {
        if (withPokemonCategoryBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          withPokemonCategory_ = value;
          onChanged();
        } else {
          withPokemonCategoryBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Combat.WithPokemonCategory with_pokemon_category = 6;
       */
      public Builder setWithPokemonCategory(
          POGOProtos.Data.Combat.WithPokemonCategoryOuterClass.WithPokemonCategory.Builder builderForValue) {
        if (withPokemonCategoryBuilder_ == null) {
          withPokemonCategory_ = builderForValue.build();
          onChanged();
        } else {
          withPokemonCategoryBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Combat.WithPokemonCategory with_pokemon_category = 6;
       */
      public Builder mergeWithPokemonCategory(POGOProtos.Data.Combat.WithPokemonCategoryOuterClass.WithPokemonCategory value) {
        if (withPokemonCategoryBuilder_ == null) {
          if (withPokemonCategory_ != null) {
            withPokemonCategory_ =
              POGOProtos.Data.Combat.WithPokemonCategoryOuterClass.WithPokemonCategory.newBuilder(withPokemonCategory_).mergeFrom(value).buildPartial();
          } else {
            withPokemonCategory_ = value;
          }
          onChanged();
        } else {
          withPokemonCategoryBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Combat.WithPokemonCategory with_pokemon_category = 6;
       */
      public Builder clearWithPokemonCategory() {
        if (withPokemonCategoryBuilder_ == null) {
          withPokemonCategory_ = null;
          onChanged();
        } else {
          withPokemonCategory_ = null;
          withPokemonCategoryBuilder_ = null;
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Combat.WithPokemonCategory with_pokemon_category = 6;
       */
      public POGOProtos.Data.Combat.WithPokemonCategoryOuterClass.WithPokemonCategory.Builder getWithPokemonCategoryBuilder() {
        
        onChanged();
        return getWithPokemonCategoryFieldBuilder().getBuilder();
      }
      /**
       * .POGOProtos.Data.Combat.WithPokemonCategory with_pokemon_category = 6;
       */
      public POGOProtos.Data.Combat.WithPokemonCategoryOuterClass.WithPokemonCategoryOrBuilder getWithPokemonCategoryOrBuilder() {
        if (withPokemonCategoryBuilder_ != null) {
          return withPokemonCategoryBuilder_.getMessageOrBuilder();
        } else {
          return withPokemonCategory_ == null ?
              POGOProtos.Data.Combat.WithPokemonCategoryOuterClass.WithPokemonCategory.getDefaultInstance() : withPokemonCategory_;
        }
      }
      /**
       * .POGOProtos.Data.Combat.WithPokemonCategory with_pokemon_category = 6;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          POGOProtos.Data.Combat.WithPokemonCategoryOuterClass.WithPokemonCategory, POGOProtos.Data.Combat.WithPokemonCategoryOuterClass.WithPokemonCategory.Builder, POGOProtos.Data.Combat.WithPokemonCategoryOuterClass.WithPokemonCategoryOrBuilder> 
          getWithPokemonCategoryFieldBuilder() {
        if (withPokemonCategoryBuilder_ == null) {
          withPokemonCategoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              POGOProtos.Data.Combat.WithPokemonCategoryOuterClass.WithPokemonCategory, POGOProtos.Data.Combat.WithPokemonCategoryOuterClass.WithPokemonCategory.Builder, POGOProtos.Data.Combat.WithPokemonCategoryOuterClass.WithPokemonCategoryOrBuilder>(
                  getWithPokemonCategory(),
                  getParentForChildren(),
                  isClean());
          withPokemonCategory_ = null;
        }
        return withPokemonCategoryBuilder_;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFieldsProto3(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:POGOProtos.Data.Combat.UnlockCondition)
    }

    // @@protoc_insertion_point(class_scope:POGOProtos.Data.Combat.UnlockCondition)
    private static final POGOProtos.Data.Combat.UnlockConditionOuterClass.UnlockCondition DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new POGOProtos.Data.Combat.UnlockConditionOuterClass.UnlockCondition();
    }

    public static POGOProtos.Data.Combat.UnlockConditionOuterClass.UnlockCondition getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public POGOProtos.Data.Combat.UnlockConditionOuterClass.UnlockCondition getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_POGOProtos_Data_Combat_UnlockCondition_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_POGOProtos_Data_Combat_UnlockCondition_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n,POGOProtos/Data/Combat/UnlockCondition" +
      ".proto\022\026POGOProtos.Data.Combat\032$POGOProt" +
      "os/Enums/ConditionType.proto\032,POGOProtos" +
      "/Data/Combat/WithPlayerLevel.proto\032/POGO" +
      "Protos/Data/Combat/WithPokemonCpLimit.pr" +
      "oto\032,POGOProtos/Data/Combat/WithPokemonT" +
      "ype.proto\0320POGOProtos/Data/Combat/WithPo" +
      "kemonCategory.proto\"\372\002\n\017UnlockCondition\022" +
      "-\n\004type\030\001 \001(\0162\037.POGOProtos.Enums.Conditi" +
      "onType\022\031\n\021min_pokemon_count\030\002 \001(\005\022B\n\021wit" +
      "h_player_level\030\003 \001(\0132\'.POGOProtos.Data.C" +
      "ombat.WithPlayerLevel\022I\n\025with_pokemon_cp" +
      "_limit\030\004 \001(\0132*.POGOProtos.Data.Combat.Wi" +
      "thPokemonCpLimit\022B\n\021with_pokemon_type\030\005 " +
      "\001(\0132\'.POGOProtos.Data.Combat.WithPokemon" +
      "Type\022J\n\025with_pokemon_category\030\006 \001(\0132+.PO" +
      "GOProtos.Data.Combat.WithPokemonCategory" +
      "b\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.Enums.ConditionTypeOuterClass.getDescriptor(),
          POGOProtos.Data.Combat.WithPlayerLevelOuterClass.getDescriptor(),
          POGOProtos.Data.Combat.WithPokemonCpLimitOuterClass.getDescriptor(),
          POGOProtos.Data.Combat.WithPokemonTypeOuterClass.getDescriptor(),
          POGOProtos.Data.Combat.WithPokemonCategoryOuterClass.getDescriptor(),
        }, assigner);
    internal_static_POGOProtos_Data_Combat_UnlockCondition_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_POGOProtos_Data_Combat_UnlockCondition_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_POGOProtos_Data_Combat_UnlockCondition_descriptor,
        new java.lang.String[] { "Type", "MinPokemonCount", "WithPlayerLevel", "WithPokemonCpLimit", "WithPokemonType", "WithPokemonCategory", });
    POGOProtos.Enums.ConditionTypeOuterClass.getDescriptor();
    POGOProtos.Data.Combat.WithPlayerLevelOuterClass.getDescriptor();
    POGOProtos.Data.Combat.WithPokemonCpLimitOuterClass.getDescriptor();
    POGOProtos.Data.Combat.WithPokemonTypeOuterClass.getDescriptor();
    POGOProtos.Data.Combat.WithPokemonCategoryOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy