// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: src/main/protobuf/option_filters.proto

package com.google.devtools.common.options.proto;

public final class OptionFilters {
  private OptionFilters() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * <pre>
   * Docs in java enum.
   * </pre>
   *
   * Protobuf enum {@code options.OptionEffectTag}
   */
  public enum OptionEffectTag
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * <pre>
     * This option's effect or intent is unknown.
     * </pre>
     *
     * <code>UNKNOWN = 0;</code>
     */
    UNKNOWN(0),
    /**
     * <pre>
     * This flag has literally no effect.
     * </pre>
     *
     * <code>NO_OP = 1;</code>
     */
    NO_OP(1),
    /**
     * <code>LOSES_INCREMENTAL_STATE = 2;</code>
     */
    LOSES_INCREMENTAL_STATE(2),
    /**
     * <code>CHANGES_INPUTS = 3;</code>
     */
    CHANGES_INPUTS(3),
    /**
     * <code>AFFECTS_OUTPUTS = 4;</code>
     */
    AFFECTS_OUTPUTS(4),
    /**
     * <code>BUILD_FILE_SEMANTICS = 5;</code>
     */
    BUILD_FILE_SEMANTICS(5),
    /**
     * <code>BAZEL_INTERNAL_CONFIGURATION = 6;</code>
     */
    BAZEL_INTERNAL_CONFIGURATION(6),
    /**
     * <code>LOADING_AND_ANALYSIS = 7;</code>
     */
    LOADING_AND_ANALYSIS(7),
    /**
     * <code>EXECUTION = 8;</code>
     */
    EXECUTION(8),
    /**
     * <code>HOST_MACHINE_RESOURCE_OPTIMIZATIONS = 9;</code>
     */
    HOST_MACHINE_RESOURCE_OPTIMIZATIONS(9),
    /**
     * <code>EAGERNESS_TO_EXIT = 10;</code>
     */
    EAGERNESS_TO_EXIT(10),
    /**
     * <code>BAZEL_MONITORING = 11;</code>
     */
    BAZEL_MONITORING(11),
    /**
     * <code>TERMINAL_OUTPUT = 12;</code>
     */
    TERMINAL_OUTPUT(12),
    /**
     * <code>ACTION_COMMAND_LINES = 13;</code>
     */
    ACTION_COMMAND_LINES(13),
    /**
     * <code>TEST_RUNNER = 14;</code>
     */
    TEST_RUNNER(14),
    UNRECOGNIZED(-1),
    ;

    /**
     * <pre>
     * This option's effect or intent is unknown.
     * </pre>
     *
     * <code>UNKNOWN = 0;</code>
     */
    public static final int UNKNOWN_VALUE = 0;
    /**
     * <pre>
     * This flag has literally no effect.
     * </pre>
     *
     * <code>NO_OP = 1;</code>
     */
    public static final int NO_OP_VALUE = 1;
    /**
     * <code>LOSES_INCREMENTAL_STATE = 2;</code>
     */
    public static final int LOSES_INCREMENTAL_STATE_VALUE = 2;
    /**
     * <code>CHANGES_INPUTS = 3;</code>
     */
    public static final int CHANGES_INPUTS_VALUE = 3;
    /**
     * <code>AFFECTS_OUTPUTS = 4;</code>
     */
    public static final int AFFECTS_OUTPUTS_VALUE = 4;
    /**
     * <code>BUILD_FILE_SEMANTICS = 5;</code>
     */
    public static final int BUILD_FILE_SEMANTICS_VALUE = 5;
    /**
     * <code>BAZEL_INTERNAL_CONFIGURATION = 6;</code>
     */
    public static final int BAZEL_INTERNAL_CONFIGURATION_VALUE = 6;
    /**
     * <code>LOADING_AND_ANALYSIS = 7;</code>
     */
    public static final int LOADING_AND_ANALYSIS_VALUE = 7;
    /**
     * <code>EXECUTION = 8;</code>
     */
    public static final int EXECUTION_VALUE = 8;
    /**
     * <code>HOST_MACHINE_RESOURCE_OPTIMIZATIONS = 9;</code>
     */
    public static final int HOST_MACHINE_RESOURCE_OPTIMIZATIONS_VALUE = 9;
    /**
     * <code>EAGERNESS_TO_EXIT = 10;</code>
     */
    public static final int EAGERNESS_TO_EXIT_VALUE = 10;
    /**
     * <code>BAZEL_MONITORING = 11;</code>
     */
    public static final int BAZEL_MONITORING_VALUE = 11;
    /**
     * <code>TERMINAL_OUTPUT = 12;</code>
     */
    public static final int TERMINAL_OUTPUT_VALUE = 12;
    /**
     * <code>ACTION_COMMAND_LINES = 13;</code>
     */
    public static final int ACTION_COMMAND_LINES_VALUE = 13;
    /**
     * <code>TEST_RUNNER = 14;</code>
     */
    public static final int TEST_RUNNER_VALUE = 14;


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

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

    public static OptionEffectTag forNumber(int value) {
      switch (value) {
        case 0: return UNKNOWN;
        case 1: return NO_OP;
        case 2: return LOSES_INCREMENTAL_STATE;
        case 3: return CHANGES_INPUTS;
        case 4: return AFFECTS_OUTPUTS;
        case 5: return BUILD_FILE_SEMANTICS;
        case 6: return BAZEL_INTERNAL_CONFIGURATION;
        case 7: return LOADING_AND_ANALYSIS;
        case 8: return EXECUTION;
        case 9: return HOST_MACHINE_RESOURCE_OPTIMIZATIONS;
        case 10: return EAGERNESS_TO_EXIT;
        case 11: return BAZEL_MONITORING;
        case 12: return TERMINAL_OUTPUT;
        case 13: return ACTION_COMMAND_LINES;
        case 14: return TEST_RUNNER;
        default: return null;
      }
    }

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

    public final com.google.protobuf.Descriptors.EnumValueDescriptor
        getValueDescriptor() {
      return getDescriptor().getValues().get(ordinal());
    }
    public final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptorForType() {
      return getDescriptor();
    }
    public static final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptor() {
      return com.google.devtools.common.options.proto.OptionFilters.getDescriptor().getEnumTypes().get(0);
    }

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

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

    private final int value;

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

    // @@protoc_insertion_point(enum_scope:options.OptionEffectTag)
  }

  /**
   * <pre>
   * Docs in java enum.
   * </pre>
   *
   * Protobuf enum {@code options.OptionMetadataTag}
   */
  public enum OptionMetadataTag
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * <code>EXPERIMENTAL = 0;</code>
     */
    EXPERIMENTAL(0),
    /**
     * <code>INCOMPATIBLE_CHANGE = 1;</code>
     */
    INCOMPATIBLE_CHANGE(1),
    /**
     * <code>DEPRECATED = 2;</code>
     */
    DEPRECATED(2),
    /**
     * <code>HIDDEN = 3;</code>
     */
    HIDDEN(3),
    /**
     * <code>INTERNAL = 4;</code>
     */
    INTERNAL(4),
    UNRECOGNIZED(-1),
    ;

    /**
     * <code>EXPERIMENTAL = 0;</code>
     */
    public static final int EXPERIMENTAL_VALUE = 0;
    /**
     * <code>INCOMPATIBLE_CHANGE = 1;</code>
     */
    public static final int INCOMPATIBLE_CHANGE_VALUE = 1;
    /**
     * <code>DEPRECATED = 2;</code>
     */
    public static final int DEPRECATED_VALUE = 2;
    /**
     * <code>HIDDEN = 3;</code>
     */
    public static final int HIDDEN_VALUE = 3;
    /**
     * <code>INTERNAL = 4;</code>
     */
    public static final int INTERNAL_VALUE = 4;


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

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

    public static OptionMetadataTag forNumber(int value) {
      switch (value) {
        case 0: return EXPERIMENTAL;
        case 1: return INCOMPATIBLE_CHANGE;
        case 2: return DEPRECATED;
        case 3: return HIDDEN;
        case 4: return INTERNAL;
        default: return null;
      }
    }

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

    public final com.google.protobuf.Descriptors.EnumValueDescriptor
        getValueDescriptor() {
      return getDescriptor().getValues().get(ordinal());
    }
    public final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptorForType() {
      return getDescriptor();
    }
    public static final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptor() {
      return com.google.devtools.common.options.proto.OptionFilters.getDescriptor().getEnumTypes().get(1);
    }

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

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

    private final int value;

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

    // @@protoc_insertion_point(enum_scope:options.OptionMetadataTag)
  }


  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n&src/main/protobuf/option_filters.proto" +
      "\022\007options*\352\002\n\017OptionEffectTag\022\013\n\007UNKNOWN" +
      "\020\000\022\t\n\005NO_OP\020\001\022\033\n\027LOSES_INCREMENTAL_STATE" +
      "\020\002\022\022\n\016CHANGES_INPUTS\020\003\022\023\n\017AFFECTS_OUTPUT" +
      "S\020\004\022\030\n\024BUILD_FILE_SEMANTICS\020\005\022 \n\034BAZEL_I" +
      "NTERNAL_CONFIGURATION\020\006\022\030\n\024LOADING_AND_A" +
      "NALYSIS\020\007\022\r\n\tEXECUTION\020\010\022\'\n#HOST_MACHINE" +
      "_RESOURCE_OPTIMIZATIONS\020\t\022\025\n\021EAGERNESS_T" +
      "O_EXIT\020\n\022\024\n\020BAZEL_MONITORING\020\013\022\023\n\017TERMIN" +
      "AL_OUTPUT\020\014\022\030\n\024ACTION_COMMAND_LINES\020\r\022\017\n",
      "\013TEST_RUNNER\020\016*h\n\021OptionMetadataTag\022\020\n\014E" +
      "XPERIMENTAL\020\000\022\027\n\023INCOMPATIBLE_CHANGE\020\001\022\016" +
      "\n\nDEPRECATED\020\002\022\n\n\006HIDDEN\020\003\022\014\n\010INTERNAL\020\004" +
      "B*\n(com.google.devtools.common.options.p" +
      "rotob\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);
  }

  // @@protoc_insertion_point(outer_class_scope)
}
