// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: k8s.io/api/policy/v1/generated.proto
// Protobuf Java Version: 4.26.1

package io.kubernetes.client.proto;

public final class V1Policy {
  private V1Policy() {}
  static {
    com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
      com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
      /* major= */ 4,
      /* minor= */ 26,
      /* patch= */ 1,
      /* suffix= */ "",
      V1Policy.class.getName());
  }
  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 EvictionOrBuilder extends
      // @@protoc_insertion_point(interface_extends:k8s.io.api.policy.v1.Eviction)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <pre>
     * ObjectMeta describes the pod that is being evicted.
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;</code>
     * @return Whether the metadata field is set.
     */
    boolean hasMetadata();
    /**
     * <pre>
     * ObjectMeta describes the pod that is being evicted.
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;</code>
     * @return The metadata.
     */
    io.kubernetes.client.proto.Meta.ObjectMeta getMetadata();
    /**
     * <pre>
     * ObjectMeta describes the pod that is being evicted.
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;</code>
     */
    io.kubernetes.client.proto.Meta.ObjectMetaOrBuilder getMetadataOrBuilder();

    /**
     * <pre>
     * DeleteOptions may be provided
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions deleteOptions = 2;</code>
     * @return Whether the deleteOptions field is set.
     */
    boolean hasDeleteOptions();
    /**
     * <pre>
     * DeleteOptions may be provided
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions deleteOptions = 2;</code>
     * @return The deleteOptions.
     */
    io.kubernetes.client.proto.Meta.DeleteOptions getDeleteOptions();
    /**
     * <pre>
     * DeleteOptions may be provided
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions deleteOptions = 2;</code>
     */
    io.kubernetes.client.proto.Meta.DeleteOptionsOrBuilder getDeleteOptionsOrBuilder();
  }
  /**
   * <pre>
   * Eviction evicts a pod from its node subject to certain policies and safety constraints.
   * This is a subresource of Pod.  A request to cause such an eviction is
   * created by POSTing to .../pods/&lt;pod name&gt;/evictions.
   * </pre>
   *
   * Protobuf type {@code k8s.io.api.policy.v1.Eviction}
   */
  public static final class Eviction extends
      com.google.protobuf.GeneratedMessage implements
      // @@protoc_insertion_point(message_implements:k8s.io.api.policy.v1.Eviction)
      EvictionOrBuilder {
  private static final long serialVersionUID = 0L;
    static {
      com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
        com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
        /* major= */ 4,
        /* minor= */ 26,
        /* patch= */ 1,
        /* suffix= */ "",
        Eviction.class.getName());
    }
    // Use Eviction.newBuilder() to construct.
    private Eviction(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
      super(builder);
    }
    private Eviction() {
    }

    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.kubernetes.client.proto.V1Policy.internal_static_k8s_io_api_policy_v1_Eviction_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.kubernetes.client.proto.V1Policy.internal_static_k8s_io_api_policy_v1_Eviction_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.kubernetes.client.proto.V1Policy.Eviction.class, io.kubernetes.client.proto.V1Policy.Eviction.Builder.class);
    }

    private int bitField0_;
    public static final int METADATA_FIELD_NUMBER = 1;
    private io.kubernetes.client.proto.Meta.ObjectMeta metadata_;
    /**
     * <pre>
     * ObjectMeta describes the pod that is being evicted.
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;</code>
     * @return Whether the metadata field is set.
     */
    @java.lang.Override
    public boolean hasMetadata() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <pre>
     * ObjectMeta describes the pod that is being evicted.
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;</code>
     * @return The metadata.
     */
    @java.lang.Override
    public io.kubernetes.client.proto.Meta.ObjectMeta getMetadata() {
      return metadata_ == null ? io.kubernetes.client.proto.Meta.ObjectMeta.getDefaultInstance() : metadata_;
    }
    /**
     * <pre>
     * ObjectMeta describes the pod that is being evicted.
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;</code>
     */
    @java.lang.Override
    public io.kubernetes.client.proto.Meta.ObjectMetaOrBuilder getMetadataOrBuilder() {
      return metadata_ == null ? io.kubernetes.client.proto.Meta.ObjectMeta.getDefaultInstance() : metadata_;
    }

    public static final int DELETEOPTIONS_FIELD_NUMBER = 2;
    private io.kubernetes.client.proto.Meta.DeleteOptions deleteOptions_;
    /**
     * <pre>
     * DeleteOptions may be provided
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions deleteOptions = 2;</code>
     * @return Whether the deleteOptions field is set.
     */
    @java.lang.Override
    public boolean hasDeleteOptions() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * <pre>
     * DeleteOptions may be provided
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions deleteOptions = 2;</code>
     * @return The deleteOptions.
     */
    @java.lang.Override
    public io.kubernetes.client.proto.Meta.DeleteOptions getDeleteOptions() {
      return deleteOptions_ == null ? io.kubernetes.client.proto.Meta.DeleteOptions.getDefaultInstance() : deleteOptions_;
    }
    /**
     * <pre>
     * DeleteOptions may be provided
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions deleteOptions = 2;</code>
     */
    @java.lang.Override
    public io.kubernetes.client.proto.Meta.DeleteOptionsOrBuilder getDeleteOptionsOrBuilder() {
      return deleteOptions_ == null ? io.kubernetes.client.proto.Meta.DeleteOptions.getDefaultInstance() : deleteOptions_;
    }

    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 (((bitField0_ & 0x00000001) != 0)) {
        output.writeMessage(1, getMetadata());
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        output.writeMessage(2, getDeleteOptions());
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      if (((bitField0_ & 0x00000001) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getMetadata());
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getDeleteOptions());
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof io.kubernetes.client.proto.V1Policy.Eviction)) {
        return super.equals(obj);
      }
      io.kubernetes.client.proto.V1Policy.Eviction other = (io.kubernetes.client.proto.V1Policy.Eviction) obj;

      if (hasMetadata() != other.hasMetadata()) return false;
      if (hasMetadata()) {
        if (!getMetadata()
            .equals(other.getMetadata())) return false;
      }
      if (hasDeleteOptions() != other.hasDeleteOptions()) return false;
      if (hasDeleteOptions()) {
        if (!getDeleteOptions()
            .equals(other.getDeleteOptions())) return false;
      }
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasMetadata()) {
        hash = (37 * hash) + METADATA_FIELD_NUMBER;
        hash = (53 * hash) + getMetadata().hashCode();
      }
      if (hasDeleteOptions()) {
        hash = (37 * hash) + DELETEOPTIONS_FIELD_NUMBER;
        hash = (53 * hash) + getDeleteOptions().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static io.kubernetes.client.proto.V1Policy.Eviction parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.kubernetes.client.proto.V1Policy.Eviction parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.kubernetes.client.proto.V1Policy.Eviction parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.kubernetes.client.proto.V1Policy.Eviction parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.kubernetes.client.proto.V1Policy.Eviction parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.kubernetes.client.proto.V1Policy.Eviction parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.kubernetes.client.proto.V1Policy.Eviction parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseWithIOException(PARSER, input);
    }
    public static io.kubernetes.client.proto.V1Policy.Eviction parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public static io.kubernetes.client.proto.V1Policy.Eviction parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseDelimitedWithIOException(PARSER, input);
    }

    public static io.kubernetes.client.proto.V1Policy.Eviction parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static io.kubernetes.client.proto.V1Policy.Eviction parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseWithIOException(PARSER, input);
    }
    public static io.kubernetes.client.proto.V1Policy.Eviction parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(io.kubernetes.client.proto.V1Policy.Eviction 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.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * <pre>
     * Eviction evicts a pod from its node subject to certain policies and safety constraints.
     * This is a subresource of Pod.  A request to cause such an eviction is
     * created by POSTing to .../pods/&lt;pod name&gt;/evictions.
     * </pre>
     *
     * Protobuf type {@code k8s.io.api.policy.v1.Eviction}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:k8s.io.api.policy.v1.Eviction)
        io.kubernetes.client.proto.V1Policy.EvictionOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.kubernetes.client.proto.V1Policy.internal_static_k8s_io_api_policy_v1_Eviction_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return io.kubernetes.client.proto.V1Policy.internal_static_k8s_io_api_policy_v1_Eviction_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                io.kubernetes.client.proto.V1Policy.Eviction.class, io.kubernetes.client.proto.V1Policy.Eviction.Builder.class);
      }

      // Construct using io.kubernetes.client.proto.V1Policy.Eviction.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage
                .alwaysUseFieldBuilders) {
          getMetadataFieldBuilder();
          getDeleteOptionsFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        metadata_ = null;
        if (metadataBuilder_ != null) {
          metadataBuilder_.dispose();
          metadataBuilder_ = null;
        }
        deleteOptions_ = null;
        if (deleteOptionsBuilder_ != null) {
          deleteOptionsBuilder_.dispose();
          deleteOptionsBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return io.kubernetes.client.proto.V1Policy.internal_static_k8s_io_api_policy_v1_Eviction_descriptor;
      }

      @java.lang.Override
      public io.kubernetes.client.proto.V1Policy.Eviction getDefaultInstanceForType() {
        return io.kubernetes.client.proto.V1Policy.Eviction.getDefaultInstance();
      }

      @java.lang.Override
      public io.kubernetes.client.proto.V1Policy.Eviction build() {
        io.kubernetes.client.proto.V1Policy.Eviction result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public io.kubernetes.client.proto.V1Policy.Eviction buildPartial() {
        io.kubernetes.client.proto.V1Policy.Eviction result = new io.kubernetes.client.proto.V1Policy.Eviction(this);
        if (bitField0_ != 0) { buildPartial0(result); }
        onBuilt();
        return result;
      }

      private void buildPartial0(io.kubernetes.client.proto.V1Policy.Eviction result) {
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.metadata_ = metadataBuilder_ == null
              ? metadata_
              : metadataBuilder_.build();
          to_bitField0_ |= 0x00000001;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.deleteOptions_ = deleteOptionsBuilder_ == null
              ? deleteOptions_
              : deleteOptionsBuilder_.build();
          to_bitField0_ |= 0x00000002;
        }
        result.bitField0_ |= to_bitField0_;
      }

      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof io.kubernetes.client.proto.V1Policy.Eviction) {
          return mergeFrom((io.kubernetes.client.proto.V1Policy.Eviction)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(io.kubernetes.client.proto.V1Policy.Eviction other) {
        if (other == io.kubernetes.client.proto.V1Policy.Eviction.getDefaultInstance()) return this;
        if (other.hasMetadata()) {
          mergeMetadata(other.getMetadata());
        }
        if (other.hasDeleteOptions()) {
          mergeDeleteOptions(other.getDeleteOptions());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        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 {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 10: {
                input.readMessage(
                    getMetadataFieldBuilder().getBuilder(),
                    extensionRegistry);
                bitField0_ |= 0x00000001;
                break;
              } // case 10
              case 18: {
                input.readMessage(
                    getDeleteOptionsFieldBuilder().getBuilder(),
                    extensionRegistry);
                bitField0_ |= 0x00000002;
                break;
              } // case 18
              default: {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }
      private int bitField0_;

      private io.kubernetes.client.proto.Meta.ObjectMeta metadata_;
      private com.google.protobuf.SingleFieldBuilder<
          io.kubernetes.client.proto.Meta.ObjectMeta, io.kubernetes.client.proto.Meta.ObjectMeta.Builder, io.kubernetes.client.proto.Meta.ObjectMetaOrBuilder> metadataBuilder_;
      /**
       * <pre>
       * ObjectMeta describes the pod that is being evicted.
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;</code>
       * @return Whether the metadata field is set.
       */
      public boolean hasMetadata() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * <pre>
       * ObjectMeta describes the pod that is being evicted.
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;</code>
       * @return The metadata.
       */
      public io.kubernetes.client.proto.Meta.ObjectMeta getMetadata() {
        if (metadataBuilder_ == null) {
          return metadata_ == null ? io.kubernetes.client.proto.Meta.ObjectMeta.getDefaultInstance() : metadata_;
        } else {
          return metadataBuilder_.getMessage();
        }
      }
      /**
       * <pre>
       * ObjectMeta describes the pod that is being evicted.
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;</code>
       */
      public Builder setMetadata(io.kubernetes.client.proto.Meta.ObjectMeta value) {
        if (metadataBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          metadata_ = value;
        } else {
          metadataBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * ObjectMeta describes the pod that is being evicted.
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;</code>
       */
      public Builder setMetadata(
          io.kubernetes.client.proto.Meta.ObjectMeta.Builder builderForValue) {
        if (metadataBuilder_ == null) {
          metadata_ = builderForValue.build();
        } else {
          metadataBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * ObjectMeta describes the pod that is being evicted.
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;</code>
       */
      public Builder mergeMetadata(io.kubernetes.client.proto.Meta.ObjectMeta value) {
        if (metadataBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0) &&
            metadata_ != null &&
            metadata_ != io.kubernetes.client.proto.Meta.ObjectMeta.getDefaultInstance()) {
            getMetadataBuilder().mergeFrom(value);
          } else {
            metadata_ = value;
          }
        } else {
          metadataBuilder_.mergeFrom(value);
        }
        if (metadata_ != null) {
          bitField0_ |= 0x00000001;
          onChanged();
        }
        return this;
      }
      /**
       * <pre>
       * ObjectMeta describes the pod that is being evicted.
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;</code>
       */
      public Builder clearMetadata() {
        bitField0_ = (bitField0_ & ~0x00000001);
        metadata_ = null;
        if (metadataBuilder_ != null) {
          metadataBuilder_.dispose();
          metadataBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /**
       * <pre>
       * ObjectMeta describes the pod that is being evicted.
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;</code>
       */
      public io.kubernetes.client.proto.Meta.ObjectMeta.Builder getMetadataBuilder() {
        bitField0_ |= 0x00000001;
        onChanged();
        return getMetadataFieldBuilder().getBuilder();
      }
      /**
       * <pre>
       * ObjectMeta describes the pod that is being evicted.
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;</code>
       */
      public io.kubernetes.client.proto.Meta.ObjectMetaOrBuilder getMetadataOrBuilder() {
        if (metadataBuilder_ != null) {
          return metadataBuilder_.getMessageOrBuilder();
        } else {
          return metadata_ == null ?
              io.kubernetes.client.proto.Meta.ObjectMeta.getDefaultInstance() : metadata_;
        }
      }
      /**
       * <pre>
       * ObjectMeta describes the pod that is being evicted.
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilder<
          io.kubernetes.client.proto.Meta.ObjectMeta, io.kubernetes.client.proto.Meta.ObjectMeta.Builder, io.kubernetes.client.proto.Meta.ObjectMetaOrBuilder> 
          getMetadataFieldBuilder() {
        if (metadataBuilder_ == null) {
          metadataBuilder_ = new com.google.protobuf.SingleFieldBuilder<
              io.kubernetes.client.proto.Meta.ObjectMeta, io.kubernetes.client.proto.Meta.ObjectMeta.Builder, io.kubernetes.client.proto.Meta.ObjectMetaOrBuilder>(
                  getMetadata(),
                  getParentForChildren(),
                  isClean());
          metadata_ = null;
        }
        return metadataBuilder_;
      }

      private io.kubernetes.client.proto.Meta.DeleteOptions deleteOptions_;
      private com.google.protobuf.SingleFieldBuilder<
          io.kubernetes.client.proto.Meta.DeleteOptions, io.kubernetes.client.proto.Meta.DeleteOptions.Builder, io.kubernetes.client.proto.Meta.DeleteOptionsOrBuilder> deleteOptionsBuilder_;
      /**
       * <pre>
       * DeleteOptions may be provided
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions deleteOptions = 2;</code>
       * @return Whether the deleteOptions field is set.
       */
      public boolean hasDeleteOptions() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * <pre>
       * DeleteOptions may be provided
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions deleteOptions = 2;</code>
       * @return The deleteOptions.
       */
      public io.kubernetes.client.proto.Meta.DeleteOptions getDeleteOptions() {
        if (deleteOptionsBuilder_ == null) {
          return deleteOptions_ == null ? io.kubernetes.client.proto.Meta.DeleteOptions.getDefaultInstance() : deleteOptions_;
        } else {
          return deleteOptionsBuilder_.getMessage();
        }
      }
      /**
       * <pre>
       * DeleteOptions may be provided
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions deleteOptions = 2;</code>
       */
      public Builder setDeleteOptions(io.kubernetes.client.proto.Meta.DeleteOptions value) {
        if (deleteOptionsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          deleteOptions_ = value;
        } else {
          deleteOptionsBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * DeleteOptions may be provided
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions deleteOptions = 2;</code>
       */
      public Builder setDeleteOptions(
          io.kubernetes.client.proto.Meta.DeleteOptions.Builder builderForValue) {
        if (deleteOptionsBuilder_ == null) {
          deleteOptions_ = builderForValue.build();
        } else {
          deleteOptionsBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * DeleteOptions may be provided
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions deleteOptions = 2;</code>
       */
      public Builder mergeDeleteOptions(io.kubernetes.client.proto.Meta.DeleteOptions value) {
        if (deleteOptionsBuilder_ == null) {
          if (((bitField0_ & 0x00000002) != 0) &&
            deleteOptions_ != null &&
            deleteOptions_ != io.kubernetes.client.proto.Meta.DeleteOptions.getDefaultInstance()) {
            getDeleteOptionsBuilder().mergeFrom(value);
          } else {
            deleteOptions_ = value;
          }
        } else {
          deleteOptionsBuilder_.mergeFrom(value);
        }
        if (deleteOptions_ != null) {
          bitField0_ |= 0x00000002;
          onChanged();
        }
        return this;
      }
      /**
       * <pre>
       * DeleteOptions may be provided
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions deleteOptions = 2;</code>
       */
      public Builder clearDeleteOptions() {
        bitField0_ = (bitField0_ & ~0x00000002);
        deleteOptions_ = null;
        if (deleteOptionsBuilder_ != null) {
          deleteOptionsBuilder_.dispose();
          deleteOptionsBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /**
       * <pre>
       * DeleteOptions may be provided
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions deleteOptions = 2;</code>
       */
      public io.kubernetes.client.proto.Meta.DeleteOptions.Builder getDeleteOptionsBuilder() {
        bitField0_ |= 0x00000002;
        onChanged();
        return getDeleteOptionsFieldBuilder().getBuilder();
      }
      /**
       * <pre>
       * DeleteOptions may be provided
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions deleteOptions = 2;</code>
       */
      public io.kubernetes.client.proto.Meta.DeleteOptionsOrBuilder getDeleteOptionsOrBuilder() {
        if (deleteOptionsBuilder_ != null) {
          return deleteOptionsBuilder_.getMessageOrBuilder();
        } else {
          return deleteOptions_ == null ?
              io.kubernetes.client.proto.Meta.DeleteOptions.getDefaultInstance() : deleteOptions_;
        }
      }
      /**
       * <pre>
       * DeleteOptions may be provided
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions deleteOptions = 2;</code>
       */
      private com.google.protobuf.SingleFieldBuilder<
          io.kubernetes.client.proto.Meta.DeleteOptions, io.kubernetes.client.proto.Meta.DeleteOptions.Builder, io.kubernetes.client.proto.Meta.DeleteOptionsOrBuilder> 
          getDeleteOptionsFieldBuilder() {
        if (deleteOptionsBuilder_ == null) {
          deleteOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
              io.kubernetes.client.proto.Meta.DeleteOptions, io.kubernetes.client.proto.Meta.DeleteOptions.Builder, io.kubernetes.client.proto.Meta.DeleteOptionsOrBuilder>(
                  getDeleteOptions(),
                  getParentForChildren(),
                  isClean());
          deleteOptions_ = null;
        }
        return deleteOptionsBuilder_;
      }

      // @@protoc_insertion_point(builder_scope:k8s.io.api.policy.v1.Eviction)
    }

    // @@protoc_insertion_point(class_scope:k8s.io.api.policy.v1.Eviction)
    private static final io.kubernetes.client.proto.V1Policy.Eviction DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new io.kubernetes.client.proto.V1Policy.Eviction();
    }

    public static io.kubernetes.client.proto.V1Policy.Eviction getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<Eviction>
        PARSER = new com.google.protobuf.AbstractParser<Eviction>() {
      @java.lang.Override
      public Eviction parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        Builder builder = newBuilder();
        try {
          builder.mergeFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.setUnfinishedMessage(builder.buildPartial());
        } catch (com.google.protobuf.UninitializedMessageException e) {
          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
        } catch (java.io.IOException e) {
          throw new com.google.protobuf.InvalidProtocolBufferException(e)
              .setUnfinishedMessage(builder.buildPartial());
        }
        return builder.buildPartial();
      }
    };

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

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

    @java.lang.Override
    public io.kubernetes.client.proto.V1Policy.Eviction getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface PodDisruptionBudgetOrBuilder extends
      // @@protoc_insertion_point(interface_extends:k8s.io.api.policy.v1.PodDisruptionBudget)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <pre>
     * Standard object's metadata.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;</code>
     * @return Whether the metadata field is set.
     */
    boolean hasMetadata();
    /**
     * <pre>
     * Standard object's metadata.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;</code>
     * @return The metadata.
     */
    io.kubernetes.client.proto.Meta.ObjectMeta getMetadata();
    /**
     * <pre>
     * Standard object's metadata.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;</code>
     */
    io.kubernetes.client.proto.Meta.ObjectMetaOrBuilder getMetadataOrBuilder();

    /**
     * <pre>
     * Specification of the desired behavior of the PodDisruptionBudget.
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.api.policy.v1.PodDisruptionBudgetSpec spec = 2;</code>
     * @return Whether the spec field is set.
     */
    boolean hasSpec();
    /**
     * <pre>
     * Specification of the desired behavior of the PodDisruptionBudget.
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.api.policy.v1.PodDisruptionBudgetSpec spec = 2;</code>
     * @return The spec.
     */
    io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec getSpec();
    /**
     * <pre>
     * Specification of the desired behavior of the PodDisruptionBudget.
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.api.policy.v1.PodDisruptionBudgetSpec spec = 2;</code>
     */
    io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpecOrBuilder getSpecOrBuilder();

    /**
     * <pre>
     * Most recently observed status of the PodDisruptionBudget.
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.api.policy.v1.PodDisruptionBudgetStatus status = 3;</code>
     * @return Whether the status field is set.
     */
    boolean hasStatus();
    /**
     * <pre>
     * Most recently observed status of the PodDisruptionBudget.
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.api.policy.v1.PodDisruptionBudgetStatus status = 3;</code>
     * @return The status.
     */
    io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus getStatus();
    /**
     * <pre>
     * Most recently observed status of the PodDisruptionBudget.
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.api.policy.v1.PodDisruptionBudgetStatus status = 3;</code>
     */
    io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatusOrBuilder getStatusOrBuilder();
  }
  /**
   * <pre>
   * PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods
   * </pre>
   *
   * Protobuf type {@code k8s.io.api.policy.v1.PodDisruptionBudget}
   */
  public static final class PodDisruptionBudget extends
      com.google.protobuf.GeneratedMessage implements
      // @@protoc_insertion_point(message_implements:k8s.io.api.policy.v1.PodDisruptionBudget)
      PodDisruptionBudgetOrBuilder {
  private static final long serialVersionUID = 0L;
    static {
      com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
        com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
        /* major= */ 4,
        /* minor= */ 26,
        /* patch= */ 1,
        /* suffix= */ "",
        PodDisruptionBudget.class.getName());
    }
    // Use PodDisruptionBudget.newBuilder() to construct.
    private PodDisruptionBudget(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
      super(builder);
    }
    private PodDisruptionBudget() {
    }

    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.kubernetes.client.proto.V1Policy.internal_static_k8s_io_api_policy_v1_PodDisruptionBudget_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.kubernetes.client.proto.V1Policy.internal_static_k8s_io_api_policy_v1_PodDisruptionBudget_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.kubernetes.client.proto.V1Policy.PodDisruptionBudget.class, io.kubernetes.client.proto.V1Policy.PodDisruptionBudget.Builder.class);
    }

    private int bitField0_;
    public static final int METADATA_FIELD_NUMBER = 1;
    private io.kubernetes.client.proto.Meta.ObjectMeta metadata_;
    /**
     * <pre>
     * Standard object's metadata.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;</code>
     * @return Whether the metadata field is set.
     */
    @java.lang.Override
    public boolean hasMetadata() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <pre>
     * Standard object's metadata.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;</code>
     * @return The metadata.
     */
    @java.lang.Override
    public io.kubernetes.client.proto.Meta.ObjectMeta getMetadata() {
      return metadata_ == null ? io.kubernetes.client.proto.Meta.ObjectMeta.getDefaultInstance() : metadata_;
    }
    /**
     * <pre>
     * Standard object's metadata.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;</code>
     */
    @java.lang.Override
    public io.kubernetes.client.proto.Meta.ObjectMetaOrBuilder getMetadataOrBuilder() {
      return metadata_ == null ? io.kubernetes.client.proto.Meta.ObjectMeta.getDefaultInstance() : metadata_;
    }

    public static final int SPEC_FIELD_NUMBER = 2;
    private io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec spec_;
    /**
     * <pre>
     * Specification of the desired behavior of the PodDisruptionBudget.
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.api.policy.v1.PodDisruptionBudgetSpec spec = 2;</code>
     * @return Whether the spec field is set.
     */
    @java.lang.Override
    public boolean hasSpec() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * <pre>
     * Specification of the desired behavior of the PodDisruptionBudget.
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.api.policy.v1.PodDisruptionBudgetSpec spec = 2;</code>
     * @return The spec.
     */
    @java.lang.Override
    public io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec getSpec() {
      return spec_ == null ? io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec.getDefaultInstance() : spec_;
    }
    /**
     * <pre>
     * Specification of the desired behavior of the PodDisruptionBudget.
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.api.policy.v1.PodDisruptionBudgetSpec spec = 2;</code>
     */
    @java.lang.Override
    public io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpecOrBuilder getSpecOrBuilder() {
      return spec_ == null ? io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec.getDefaultInstance() : spec_;
    }

    public static final int STATUS_FIELD_NUMBER = 3;
    private io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus status_;
    /**
     * <pre>
     * Most recently observed status of the PodDisruptionBudget.
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.api.policy.v1.PodDisruptionBudgetStatus status = 3;</code>
     * @return Whether the status field is set.
     */
    @java.lang.Override
    public boolean hasStatus() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * <pre>
     * Most recently observed status of the PodDisruptionBudget.
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.api.policy.v1.PodDisruptionBudgetStatus status = 3;</code>
     * @return The status.
     */
    @java.lang.Override
    public io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus getStatus() {
      return status_ == null ? io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus.getDefaultInstance() : status_;
    }
    /**
     * <pre>
     * Most recently observed status of the PodDisruptionBudget.
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.api.policy.v1.PodDisruptionBudgetStatus status = 3;</code>
     */
    @java.lang.Override
    public io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatusOrBuilder getStatusOrBuilder() {
      return status_ == null ? io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus.getDefaultInstance() : status_;
    }

    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 (((bitField0_ & 0x00000001) != 0)) {
        output.writeMessage(1, getMetadata());
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        output.writeMessage(2, getSpec());
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        output.writeMessage(3, getStatus());
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      if (((bitField0_ & 0x00000001) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getMetadata());
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getSpec());
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, getStatus());
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof io.kubernetes.client.proto.V1Policy.PodDisruptionBudget)) {
        return super.equals(obj);
      }
      io.kubernetes.client.proto.V1Policy.PodDisruptionBudget other = (io.kubernetes.client.proto.V1Policy.PodDisruptionBudget) obj;

      if (hasMetadata() != other.hasMetadata()) return false;
      if (hasMetadata()) {
        if (!getMetadata()
            .equals(other.getMetadata())) return false;
      }
      if (hasSpec() != other.hasSpec()) return false;
      if (hasSpec()) {
        if (!getSpec()
            .equals(other.getSpec())) return false;
      }
      if (hasStatus() != other.hasStatus()) return false;
      if (hasStatus()) {
        if (!getStatus()
            .equals(other.getStatus())) return false;
      }
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasMetadata()) {
        hash = (37 * hash) + METADATA_FIELD_NUMBER;
        hash = (53 * hash) + getMetadata().hashCode();
      }
      if (hasSpec()) {
        hash = (37 * hash) + SPEC_FIELD_NUMBER;
        hash = (53 * hash) + getSpec().hashCode();
      }
      if (hasStatus()) {
        hash = (37 * hash) + STATUS_FIELD_NUMBER;
        hash = (53 * hash) + getStatus().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudget parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudget parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudget parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudget parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudget parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudget parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudget parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseWithIOException(PARSER, input);
    }
    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudget parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudget parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseDelimitedWithIOException(PARSER, input);
    }

    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudget parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudget parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseWithIOException(PARSER, input);
    }
    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudget parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(io.kubernetes.client.proto.V1Policy.PodDisruptionBudget 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.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * <pre>
     * PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods
     * </pre>
     *
     * Protobuf type {@code k8s.io.api.policy.v1.PodDisruptionBudget}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:k8s.io.api.policy.v1.PodDisruptionBudget)
        io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.kubernetes.client.proto.V1Policy.internal_static_k8s_io_api_policy_v1_PodDisruptionBudget_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return io.kubernetes.client.proto.V1Policy.internal_static_k8s_io_api_policy_v1_PodDisruptionBudget_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                io.kubernetes.client.proto.V1Policy.PodDisruptionBudget.class, io.kubernetes.client.proto.V1Policy.PodDisruptionBudget.Builder.class);
      }

      // Construct using io.kubernetes.client.proto.V1Policy.PodDisruptionBudget.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage
                .alwaysUseFieldBuilders) {
          getMetadataFieldBuilder();
          getSpecFieldBuilder();
          getStatusFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        metadata_ = null;
        if (metadataBuilder_ != null) {
          metadataBuilder_.dispose();
          metadataBuilder_ = null;
        }
        spec_ = null;
        if (specBuilder_ != null) {
          specBuilder_.dispose();
          specBuilder_ = null;
        }
        status_ = null;
        if (statusBuilder_ != null) {
          statusBuilder_.dispose();
          statusBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return io.kubernetes.client.proto.V1Policy.internal_static_k8s_io_api_policy_v1_PodDisruptionBudget_descriptor;
      }

      @java.lang.Override
      public io.kubernetes.client.proto.V1Policy.PodDisruptionBudget getDefaultInstanceForType() {
        return io.kubernetes.client.proto.V1Policy.PodDisruptionBudget.getDefaultInstance();
      }

      @java.lang.Override
      public io.kubernetes.client.proto.V1Policy.PodDisruptionBudget build() {
        io.kubernetes.client.proto.V1Policy.PodDisruptionBudget result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public io.kubernetes.client.proto.V1Policy.PodDisruptionBudget buildPartial() {
        io.kubernetes.client.proto.V1Policy.PodDisruptionBudget result = new io.kubernetes.client.proto.V1Policy.PodDisruptionBudget(this);
        if (bitField0_ != 0) { buildPartial0(result); }
        onBuilt();
        return result;
      }

      private void buildPartial0(io.kubernetes.client.proto.V1Policy.PodDisruptionBudget result) {
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.metadata_ = metadataBuilder_ == null
              ? metadata_
              : metadataBuilder_.build();
          to_bitField0_ |= 0x00000001;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.spec_ = specBuilder_ == null
              ? spec_
              : specBuilder_.build();
          to_bitField0_ |= 0x00000002;
        }
        if (((from_bitField0_ & 0x00000004) != 0)) {
          result.status_ = statusBuilder_ == null
              ? status_
              : statusBuilder_.build();
          to_bitField0_ |= 0x00000004;
        }
        result.bitField0_ |= to_bitField0_;
      }

      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof io.kubernetes.client.proto.V1Policy.PodDisruptionBudget) {
          return mergeFrom((io.kubernetes.client.proto.V1Policy.PodDisruptionBudget)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(io.kubernetes.client.proto.V1Policy.PodDisruptionBudget other) {
        if (other == io.kubernetes.client.proto.V1Policy.PodDisruptionBudget.getDefaultInstance()) return this;
        if (other.hasMetadata()) {
          mergeMetadata(other.getMetadata());
        }
        if (other.hasSpec()) {
          mergeSpec(other.getSpec());
        }
        if (other.hasStatus()) {
          mergeStatus(other.getStatus());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        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 {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 10: {
                input.readMessage(
                    getMetadataFieldBuilder().getBuilder(),
                    extensionRegistry);
                bitField0_ |= 0x00000001;
                break;
              } // case 10
              case 18: {
                input.readMessage(
                    getSpecFieldBuilder().getBuilder(),
                    extensionRegistry);
                bitField0_ |= 0x00000002;
                break;
              } // case 18
              case 26: {
                input.readMessage(
                    getStatusFieldBuilder().getBuilder(),
                    extensionRegistry);
                bitField0_ |= 0x00000004;
                break;
              } // case 26
              default: {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }
      private int bitField0_;

      private io.kubernetes.client.proto.Meta.ObjectMeta metadata_;
      private com.google.protobuf.SingleFieldBuilder<
          io.kubernetes.client.proto.Meta.ObjectMeta, io.kubernetes.client.proto.Meta.ObjectMeta.Builder, io.kubernetes.client.proto.Meta.ObjectMetaOrBuilder> metadataBuilder_;
      /**
       * <pre>
       * Standard object's metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;</code>
       * @return Whether the metadata field is set.
       */
      public boolean hasMetadata() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * <pre>
       * Standard object's metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;</code>
       * @return The metadata.
       */
      public io.kubernetes.client.proto.Meta.ObjectMeta getMetadata() {
        if (metadataBuilder_ == null) {
          return metadata_ == null ? io.kubernetes.client.proto.Meta.ObjectMeta.getDefaultInstance() : metadata_;
        } else {
          return metadataBuilder_.getMessage();
        }
      }
      /**
       * <pre>
       * Standard object's metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;</code>
       */
      public Builder setMetadata(io.kubernetes.client.proto.Meta.ObjectMeta value) {
        if (metadataBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          metadata_ = value;
        } else {
          metadataBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Standard object's metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;</code>
       */
      public Builder setMetadata(
          io.kubernetes.client.proto.Meta.ObjectMeta.Builder builderForValue) {
        if (metadataBuilder_ == null) {
          metadata_ = builderForValue.build();
        } else {
          metadataBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Standard object's metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;</code>
       */
      public Builder mergeMetadata(io.kubernetes.client.proto.Meta.ObjectMeta value) {
        if (metadataBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0) &&
            metadata_ != null &&
            metadata_ != io.kubernetes.client.proto.Meta.ObjectMeta.getDefaultInstance()) {
            getMetadataBuilder().mergeFrom(value);
          } else {
            metadata_ = value;
          }
        } else {
          metadataBuilder_.mergeFrom(value);
        }
        if (metadata_ != null) {
          bitField0_ |= 0x00000001;
          onChanged();
        }
        return this;
      }
      /**
       * <pre>
       * Standard object's metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;</code>
       */
      public Builder clearMetadata() {
        bitField0_ = (bitField0_ & ~0x00000001);
        metadata_ = null;
        if (metadataBuilder_ != null) {
          metadataBuilder_.dispose();
          metadataBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Standard object's metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;</code>
       */
      public io.kubernetes.client.proto.Meta.ObjectMeta.Builder getMetadataBuilder() {
        bitField0_ |= 0x00000001;
        onChanged();
        return getMetadataFieldBuilder().getBuilder();
      }
      /**
       * <pre>
       * Standard object's metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;</code>
       */
      public io.kubernetes.client.proto.Meta.ObjectMetaOrBuilder getMetadataOrBuilder() {
        if (metadataBuilder_ != null) {
          return metadataBuilder_.getMessageOrBuilder();
        } else {
          return metadata_ == null ?
              io.kubernetes.client.proto.Meta.ObjectMeta.getDefaultInstance() : metadata_;
        }
      }
      /**
       * <pre>
       * Standard object's metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilder<
          io.kubernetes.client.proto.Meta.ObjectMeta, io.kubernetes.client.proto.Meta.ObjectMeta.Builder, io.kubernetes.client.proto.Meta.ObjectMetaOrBuilder> 
          getMetadataFieldBuilder() {
        if (metadataBuilder_ == null) {
          metadataBuilder_ = new com.google.protobuf.SingleFieldBuilder<
              io.kubernetes.client.proto.Meta.ObjectMeta, io.kubernetes.client.proto.Meta.ObjectMeta.Builder, io.kubernetes.client.proto.Meta.ObjectMetaOrBuilder>(
                  getMetadata(),
                  getParentForChildren(),
                  isClean());
          metadata_ = null;
        }
        return metadataBuilder_;
      }

      private io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec spec_;
      private com.google.protobuf.SingleFieldBuilder<
          io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec, io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec.Builder, io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpecOrBuilder> specBuilder_;
      /**
       * <pre>
       * Specification of the desired behavior of the PodDisruptionBudget.
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.api.policy.v1.PodDisruptionBudgetSpec spec = 2;</code>
       * @return Whether the spec field is set.
       */
      public boolean hasSpec() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * <pre>
       * Specification of the desired behavior of the PodDisruptionBudget.
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.api.policy.v1.PodDisruptionBudgetSpec spec = 2;</code>
       * @return The spec.
       */
      public io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec getSpec() {
        if (specBuilder_ == null) {
          return spec_ == null ? io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec.getDefaultInstance() : spec_;
        } else {
          return specBuilder_.getMessage();
        }
      }
      /**
       * <pre>
       * Specification of the desired behavior of the PodDisruptionBudget.
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.api.policy.v1.PodDisruptionBudgetSpec spec = 2;</code>
       */
      public Builder setSpec(io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec value) {
        if (specBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          spec_ = value;
        } else {
          specBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Specification of the desired behavior of the PodDisruptionBudget.
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.api.policy.v1.PodDisruptionBudgetSpec spec = 2;</code>
       */
      public Builder setSpec(
          io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec.Builder builderForValue) {
        if (specBuilder_ == null) {
          spec_ = builderForValue.build();
        } else {
          specBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Specification of the desired behavior of the PodDisruptionBudget.
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.api.policy.v1.PodDisruptionBudgetSpec spec = 2;</code>
       */
      public Builder mergeSpec(io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec value) {
        if (specBuilder_ == null) {
          if (((bitField0_ & 0x00000002) != 0) &&
            spec_ != null &&
            spec_ != io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec.getDefaultInstance()) {
            getSpecBuilder().mergeFrom(value);
          } else {
            spec_ = value;
          }
        } else {
          specBuilder_.mergeFrom(value);
        }
        if (spec_ != null) {
          bitField0_ |= 0x00000002;
          onChanged();
        }
        return this;
      }
      /**
       * <pre>
       * Specification of the desired behavior of the PodDisruptionBudget.
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.api.policy.v1.PodDisruptionBudgetSpec spec = 2;</code>
       */
      public Builder clearSpec() {
        bitField0_ = (bitField0_ & ~0x00000002);
        spec_ = null;
        if (specBuilder_ != null) {
          specBuilder_.dispose();
          specBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Specification of the desired behavior of the PodDisruptionBudget.
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.api.policy.v1.PodDisruptionBudgetSpec spec = 2;</code>
       */
      public io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec.Builder getSpecBuilder() {
        bitField0_ |= 0x00000002;
        onChanged();
        return getSpecFieldBuilder().getBuilder();
      }
      /**
       * <pre>
       * Specification of the desired behavior of the PodDisruptionBudget.
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.api.policy.v1.PodDisruptionBudgetSpec spec = 2;</code>
       */
      public io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpecOrBuilder getSpecOrBuilder() {
        if (specBuilder_ != null) {
          return specBuilder_.getMessageOrBuilder();
        } else {
          return spec_ == null ?
              io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec.getDefaultInstance() : spec_;
        }
      }
      /**
       * <pre>
       * Specification of the desired behavior of the PodDisruptionBudget.
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.api.policy.v1.PodDisruptionBudgetSpec spec = 2;</code>
       */
      private com.google.protobuf.SingleFieldBuilder<
          io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec, io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec.Builder, io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpecOrBuilder> 
          getSpecFieldBuilder() {
        if (specBuilder_ == null) {
          specBuilder_ = new com.google.protobuf.SingleFieldBuilder<
              io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec, io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec.Builder, io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpecOrBuilder>(
                  getSpec(),
                  getParentForChildren(),
                  isClean());
          spec_ = null;
        }
        return specBuilder_;
      }

      private io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus status_;
      private com.google.protobuf.SingleFieldBuilder<
          io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus, io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus.Builder, io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatusOrBuilder> statusBuilder_;
      /**
       * <pre>
       * Most recently observed status of the PodDisruptionBudget.
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.api.policy.v1.PodDisruptionBudgetStatus status = 3;</code>
       * @return Whether the status field is set.
       */
      public boolean hasStatus() {
        return ((bitField0_ & 0x00000004) != 0);
      }
      /**
       * <pre>
       * Most recently observed status of the PodDisruptionBudget.
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.api.policy.v1.PodDisruptionBudgetStatus status = 3;</code>
       * @return The status.
       */
      public io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus getStatus() {
        if (statusBuilder_ == null) {
          return status_ == null ? io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus.getDefaultInstance() : status_;
        } else {
          return statusBuilder_.getMessage();
        }
      }
      /**
       * <pre>
       * Most recently observed status of the PodDisruptionBudget.
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.api.policy.v1.PodDisruptionBudgetStatus status = 3;</code>
       */
      public Builder setStatus(io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus value) {
        if (statusBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          status_ = value;
        } else {
          statusBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Most recently observed status of the PodDisruptionBudget.
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.api.policy.v1.PodDisruptionBudgetStatus status = 3;</code>
       */
      public Builder setStatus(
          io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus.Builder builderForValue) {
        if (statusBuilder_ == null) {
          status_ = builderForValue.build();
        } else {
          statusBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Most recently observed status of the PodDisruptionBudget.
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.api.policy.v1.PodDisruptionBudgetStatus status = 3;</code>
       */
      public Builder mergeStatus(io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus value) {
        if (statusBuilder_ == null) {
          if (((bitField0_ & 0x00000004) != 0) &&
            status_ != null &&
            status_ != io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus.getDefaultInstance()) {
            getStatusBuilder().mergeFrom(value);
          } else {
            status_ = value;
          }
        } else {
          statusBuilder_.mergeFrom(value);
        }
        if (status_ != null) {
          bitField0_ |= 0x00000004;
          onChanged();
        }
        return this;
      }
      /**
       * <pre>
       * Most recently observed status of the PodDisruptionBudget.
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.api.policy.v1.PodDisruptionBudgetStatus status = 3;</code>
       */
      public Builder clearStatus() {
        bitField0_ = (bitField0_ & ~0x00000004);
        status_ = null;
        if (statusBuilder_ != null) {
          statusBuilder_.dispose();
          statusBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Most recently observed status of the PodDisruptionBudget.
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.api.policy.v1.PodDisruptionBudgetStatus status = 3;</code>
       */
      public io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus.Builder getStatusBuilder() {
        bitField0_ |= 0x00000004;
        onChanged();
        return getStatusFieldBuilder().getBuilder();
      }
      /**
       * <pre>
       * Most recently observed status of the PodDisruptionBudget.
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.api.policy.v1.PodDisruptionBudgetStatus status = 3;</code>
       */
      public io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatusOrBuilder getStatusOrBuilder() {
        if (statusBuilder_ != null) {
          return statusBuilder_.getMessageOrBuilder();
        } else {
          return status_ == null ?
              io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus.getDefaultInstance() : status_;
        }
      }
      /**
       * <pre>
       * Most recently observed status of the PodDisruptionBudget.
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.api.policy.v1.PodDisruptionBudgetStatus status = 3;</code>
       */
      private com.google.protobuf.SingleFieldBuilder<
          io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus, io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus.Builder, io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatusOrBuilder> 
          getStatusFieldBuilder() {
        if (statusBuilder_ == null) {
          statusBuilder_ = new com.google.protobuf.SingleFieldBuilder<
              io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus, io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus.Builder, io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatusOrBuilder>(
                  getStatus(),
                  getParentForChildren(),
                  isClean());
          status_ = null;
        }
        return statusBuilder_;
      }

      // @@protoc_insertion_point(builder_scope:k8s.io.api.policy.v1.PodDisruptionBudget)
    }

    // @@protoc_insertion_point(class_scope:k8s.io.api.policy.v1.PodDisruptionBudget)
    private static final io.kubernetes.client.proto.V1Policy.PodDisruptionBudget DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new io.kubernetes.client.proto.V1Policy.PodDisruptionBudget();
    }

    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudget getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<PodDisruptionBudget>
        PARSER = new com.google.protobuf.AbstractParser<PodDisruptionBudget>() {
      @java.lang.Override
      public PodDisruptionBudget parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        Builder builder = newBuilder();
        try {
          builder.mergeFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.setUnfinishedMessage(builder.buildPartial());
        } catch (com.google.protobuf.UninitializedMessageException e) {
          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
        } catch (java.io.IOException e) {
          throw new com.google.protobuf.InvalidProtocolBufferException(e)
              .setUnfinishedMessage(builder.buildPartial());
        }
        return builder.buildPartial();
      }
    };

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

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

    @java.lang.Override
    public io.kubernetes.client.proto.V1Policy.PodDisruptionBudget getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface PodDisruptionBudgetListOrBuilder extends
      // @@protoc_insertion_point(interface_extends:k8s.io.api.policy.v1.PodDisruptionBudgetList)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <pre>
     * Standard object's metadata.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;</code>
     * @return Whether the metadata field is set.
     */
    boolean hasMetadata();
    /**
     * <pre>
     * Standard object's metadata.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;</code>
     * @return The metadata.
     */
    io.kubernetes.client.proto.Meta.ListMeta getMetadata();
    /**
     * <pre>
     * Standard object's metadata.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;</code>
     */
    io.kubernetes.client.proto.Meta.ListMetaOrBuilder getMetadataOrBuilder();

    /**
     * <pre>
     * Items is a list of PodDisruptionBudgets
     * </pre>
     *
     * <code>repeated .k8s.io.api.policy.v1.PodDisruptionBudget items = 2;</code>
     */
    java.util.List<io.kubernetes.client.proto.V1Policy.PodDisruptionBudget> 
        getItemsList();
    /**
     * <pre>
     * Items is a list of PodDisruptionBudgets
     * </pre>
     *
     * <code>repeated .k8s.io.api.policy.v1.PodDisruptionBudget items = 2;</code>
     */
    io.kubernetes.client.proto.V1Policy.PodDisruptionBudget getItems(int index);
    /**
     * <pre>
     * Items is a list of PodDisruptionBudgets
     * </pre>
     *
     * <code>repeated .k8s.io.api.policy.v1.PodDisruptionBudget items = 2;</code>
     */
    int getItemsCount();
    /**
     * <pre>
     * Items is a list of PodDisruptionBudgets
     * </pre>
     *
     * <code>repeated .k8s.io.api.policy.v1.PodDisruptionBudget items = 2;</code>
     */
    java.util.List<? extends io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetOrBuilder> 
        getItemsOrBuilderList();
    /**
     * <pre>
     * Items is a list of PodDisruptionBudgets
     * </pre>
     *
     * <code>repeated .k8s.io.api.policy.v1.PodDisruptionBudget items = 2;</code>
     */
    io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetOrBuilder getItemsOrBuilder(
        int index);
  }
  /**
   * <pre>
   * PodDisruptionBudgetList is a collection of PodDisruptionBudgets.
   * </pre>
   *
   * Protobuf type {@code k8s.io.api.policy.v1.PodDisruptionBudgetList}
   */
  public static final class PodDisruptionBudgetList extends
      com.google.protobuf.GeneratedMessage implements
      // @@protoc_insertion_point(message_implements:k8s.io.api.policy.v1.PodDisruptionBudgetList)
      PodDisruptionBudgetListOrBuilder {
  private static final long serialVersionUID = 0L;
    static {
      com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
        com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
        /* major= */ 4,
        /* minor= */ 26,
        /* patch= */ 1,
        /* suffix= */ "",
        PodDisruptionBudgetList.class.getName());
    }
    // Use PodDisruptionBudgetList.newBuilder() to construct.
    private PodDisruptionBudgetList(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
      super(builder);
    }
    private PodDisruptionBudgetList() {
      items_ = java.util.Collections.emptyList();
    }

    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.kubernetes.client.proto.V1Policy.internal_static_k8s_io_api_policy_v1_PodDisruptionBudgetList_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.kubernetes.client.proto.V1Policy.internal_static_k8s_io_api_policy_v1_PodDisruptionBudgetList_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetList.class, io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetList.Builder.class);
    }

    private int bitField0_;
    public static final int METADATA_FIELD_NUMBER = 1;
    private io.kubernetes.client.proto.Meta.ListMeta metadata_;
    /**
     * <pre>
     * Standard object's metadata.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;</code>
     * @return Whether the metadata field is set.
     */
    @java.lang.Override
    public boolean hasMetadata() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <pre>
     * Standard object's metadata.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;</code>
     * @return The metadata.
     */
    @java.lang.Override
    public io.kubernetes.client.proto.Meta.ListMeta getMetadata() {
      return metadata_ == null ? io.kubernetes.client.proto.Meta.ListMeta.getDefaultInstance() : metadata_;
    }
    /**
     * <pre>
     * Standard object's metadata.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;</code>
     */
    @java.lang.Override
    public io.kubernetes.client.proto.Meta.ListMetaOrBuilder getMetadataOrBuilder() {
      return metadata_ == null ? io.kubernetes.client.proto.Meta.ListMeta.getDefaultInstance() : metadata_;
    }

    public static final int ITEMS_FIELD_NUMBER = 2;
    @SuppressWarnings("serial")
    private java.util.List<io.kubernetes.client.proto.V1Policy.PodDisruptionBudget> items_;
    /**
     * <pre>
     * Items is a list of PodDisruptionBudgets
     * </pre>
     *
     * <code>repeated .k8s.io.api.policy.v1.PodDisruptionBudget items = 2;</code>
     */
    @java.lang.Override
    public java.util.List<io.kubernetes.client.proto.V1Policy.PodDisruptionBudget> getItemsList() {
      return items_;
    }
    /**
     * <pre>
     * Items is a list of PodDisruptionBudgets
     * </pre>
     *
     * <code>repeated .k8s.io.api.policy.v1.PodDisruptionBudget items = 2;</code>
     */
    @java.lang.Override
    public java.util.List<? extends io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetOrBuilder> 
        getItemsOrBuilderList() {
      return items_;
    }
    /**
     * <pre>
     * Items is a list of PodDisruptionBudgets
     * </pre>
     *
     * <code>repeated .k8s.io.api.policy.v1.PodDisruptionBudget items = 2;</code>
     */
    @java.lang.Override
    public int getItemsCount() {
      return items_.size();
    }
    /**
     * <pre>
     * Items is a list of PodDisruptionBudgets
     * </pre>
     *
     * <code>repeated .k8s.io.api.policy.v1.PodDisruptionBudget items = 2;</code>
     */
    @java.lang.Override
    public io.kubernetes.client.proto.V1Policy.PodDisruptionBudget getItems(int index) {
      return items_.get(index);
    }
    /**
     * <pre>
     * Items is a list of PodDisruptionBudgets
     * </pre>
     *
     * <code>repeated .k8s.io.api.policy.v1.PodDisruptionBudget items = 2;</code>
     */
    @java.lang.Override
    public io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetOrBuilder getItemsOrBuilder(
        int index) {
      return items_.get(index);
    }

    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 (((bitField0_ & 0x00000001) != 0)) {
        output.writeMessage(1, getMetadata());
      }
      for (int i = 0; i < items_.size(); i++) {
        output.writeMessage(2, items_.get(i));
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      if (((bitField0_ & 0x00000001) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getMetadata());
      }
      for (int i = 0; i < items_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, items_.get(i));
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetList)) {
        return super.equals(obj);
      }
      io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetList other = (io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetList) obj;

      if (hasMetadata() != other.hasMetadata()) return false;
      if (hasMetadata()) {
        if (!getMetadata()
            .equals(other.getMetadata())) return false;
      }
      if (!getItemsList()
          .equals(other.getItemsList())) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasMetadata()) {
        hash = (37 * hash) + METADATA_FIELD_NUMBER;
        hash = (53 * hash) + getMetadata().hashCode();
      }
      if (getItemsCount() > 0) {
        hash = (37 * hash) + ITEMS_FIELD_NUMBER;
        hash = (53 * hash) + getItemsList().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetList parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetList parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetList parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetList parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetList parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetList parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetList parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseWithIOException(PARSER, input);
    }
    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetList parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetList parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseDelimitedWithIOException(PARSER, input);
    }

    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetList parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetList parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseWithIOException(PARSER, input);
    }
    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetList parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetList 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.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * <pre>
     * PodDisruptionBudgetList is a collection of PodDisruptionBudgets.
     * </pre>
     *
     * Protobuf type {@code k8s.io.api.policy.v1.PodDisruptionBudgetList}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:k8s.io.api.policy.v1.PodDisruptionBudgetList)
        io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetListOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.kubernetes.client.proto.V1Policy.internal_static_k8s_io_api_policy_v1_PodDisruptionBudgetList_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return io.kubernetes.client.proto.V1Policy.internal_static_k8s_io_api_policy_v1_PodDisruptionBudgetList_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetList.class, io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetList.Builder.class);
      }

      // Construct using io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetList.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage
                .alwaysUseFieldBuilders) {
          getMetadataFieldBuilder();
          getItemsFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        metadata_ = null;
        if (metadataBuilder_ != null) {
          metadataBuilder_.dispose();
          metadataBuilder_ = null;
        }
        if (itemsBuilder_ == null) {
          items_ = java.util.Collections.emptyList();
        } else {
          items_ = null;
          itemsBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000002);
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return io.kubernetes.client.proto.V1Policy.internal_static_k8s_io_api_policy_v1_PodDisruptionBudgetList_descriptor;
      }

      @java.lang.Override
      public io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetList getDefaultInstanceForType() {
        return io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetList.getDefaultInstance();
      }

      @java.lang.Override
      public io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetList build() {
        io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetList result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetList buildPartial() {
        io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetList result = new io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetList(this);
        buildPartialRepeatedFields(result);
        if (bitField0_ != 0) { buildPartial0(result); }
        onBuilt();
        return result;
      }

      private void buildPartialRepeatedFields(io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetList result) {
        if (itemsBuilder_ == null) {
          if (((bitField0_ & 0x00000002) != 0)) {
            items_ = java.util.Collections.unmodifiableList(items_);
            bitField0_ = (bitField0_ & ~0x00000002);
          }
          result.items_ = items_;
        } else {
          result.items_ = itemsBuilder_.build();
        }
      }

      private void buildPartial0(io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetList result) {
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.metadata_ = metadataBuilder_ == null
              ? metadata_
              : metadataBuilder_.build();
          to_bitField0_ |= 0x00000001;
        }
        result.bitField0_ |= to_bitField0_;
      }

      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetList) {
          return mergeFrom((io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetList)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetList other) {
        if (other == io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetList.getDefaultInstance()) return this;
        if (other.hasMetadata()) {
          mergeMetadata(other.getMetadata());
        }
        if (itemsBuilder_ == null) {
          if (!other.items_.isEmpty()) {
            if (items_.isEmpty()) {
              items_ = other.items_;
              bitField0_ = (bitField0_ & ~0x00000002);
            } else {
              ensureItemsIsMutable();
              items_.addAll(other.items_);
            }
            onChanged();
          }
        } else {
          if (!other.items_.isEmpty()) {
            if (itemsBuilder_.isEmpty()) {
              itemsBuilder_.dispose();
              itemsBuilder_ = null;
              items_ = other.items_;
              bitField0_ = (bitField0_ & ~0x00000002);
              itemsBuilder_ = 
                com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
                   getItemsFieldBuilder() : null;
            } else {
              itemsBuilder_.addAllMessages(other.items_);
            }
          }
        }
        this.mergeUnknownFields(other.getUnknownFields());
        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 {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 10: {
                input.readMessage(
                    getMetadataFieldBuilder().getBuilder(),
                    extensionRegistry);
                bitField0_ |= 0x00000001;
                break;
              } // case 10
              case 18: {
                io.kubernetes.client.proto.V1Policy.PodDisruptionBudget m =
                    input.readMessage(
                        io.kubernetes.client.proto.V1Policy.PodDisruptionBudget.parser(),
                        extensionRegistry);
                if (itemsBuilder_ == null) {
                  ensureItemsIsMutable();
                  items_.add(m);
                } else {
                  itemsBuilder_.addMessage(m);
                }
                break;
              } // case 18
              default: {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }
      private int bitField0_;

      private io.kubernetes.client.proto.Meta.ListMeta metadata_;
      private com.google.protobuf.SingleFieldBuilder<
          io.kubernetes.client.proto.Meta.ListMeta, io.kubernetes.client.proto.Meta.ListMeta.Builder, io.kubernetes.client.proto.Meta.ListMetaOrBuilder> metadataBuilder_;
      /**
       * <pre>
       * Standard object's metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;</code>
       * @return Whether the metadata field is set.
       */
      public boolean hasMetadata() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * <pre>
       * Standard object's metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;</code>
       * @return The metadata.
       */
      public io.kubernetes.client.proto.Meta.ListMeta getMetadata() {
        if (metadataBuilder_ == null) {
          return metadata_ == null ? io.kubernetes.client.proto.Meta.ListMeta.getDefaultInstance() : metadata_;
        } else {
          return metadataBuilder_.getMessage();
        }
      }
      /**
       * <pre>
       * Standard object's metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;</code>
       */
      public Builder setMetadata(io.kubernetes.client.proto.Meta.ListMeta value) {
        if (metadataBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          metadata_ = value;
        } else {
          metadataBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Standard object's metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;</code>
       */
      public Builder setMetadata(
          io.kubernetes.client.proto.Meta.ListMeta.Builder builderForValue) {
        if (metadataBuilder_ == null) {
          metadata_ = builderForValue.build();
        } else {
          metadataBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Standard object's metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;</code>
       */
      public Builder mergeMetadata(io.kubernetes.client.proto.Meta.ListMeta value) {
        if (metadataBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0) &&
            metadata_ != null &&
            metadata_ != io.kubernetes.client.proto.Meta.ListMeta.getDefaultInstance()) {
            getMetadataBuilder().mergeFrom(value);
          } else {
            metadata_ = value;
          }
        } else {
          metadataBuilder_.mergeFrom(value);
        }
        if (metadata_ != null) {
          bitField0_ |= 0x00000001;
          onChanged();
        }
        return this;
      }
      /**
       * <pre>
       * Standard object's metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;</code>
       */
      public Builder clearMetadata() {
        bitField0_ = (bitField0_ & ~0x00000001);
        metadata_ = null;
        if (metadataBuilder_ != null) {
          metadataBuilder_.dispose();
          metadataBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Standard object's metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;</code>
       */
      public io.kubernetes.client.proto.Meta.ListMeta.Builder getMetadataBuilder() {
        bitField0_ |= 0x00000001;
        onChanged();
        return getMetadataFieldBuilder().getBuilder();
      }
      /**
       * <pre>
       * Standard object's metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;</code>
       */
      public io.kubernetes.client.proto.Meta.ListMetaOrBuilder getMetadataOrBuilder() {
        if (metadataBuilder_ != null) {
          return metadataBuilder_.getMessageOrBuilder();
        } else {
          return metadata_ == null ?
              io.kubernetes.client.proto.Meta.ListMeta.getDefaultInstance() : metadata_;
        }
      }
      /**
       * <pre>
       * Standard object's metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilder<
          io.kubernetes.client.proto.Meta.ListMeta, io.kubernetes.client.proto.Meta.ListMeta.Builder, io.kubernetes.client.proto.Meta.ListMetaOrBuilder> 
          getMetadataFieldBuilder() {
        if (metadataBuilder_ == null) {
          metadataBuilder_ = new com.google.protobuf.SingleFieldBuilder<
              io.kubernetes.client.proto.Meta.ListMeta, io.kubernetes.client.proto.Meta.ListMeta.Builder, io.kubernetes.client.proto.Meta.ListMetaOrBuilder>(
                  getMetadata(),
                  getParentForChildren(),
                  isClean());
          metadata_ = null;
        }
        return metadataBuilder_;
      }

      private java.util.List<io.kubernetes.client.proto.V1Policy.PodDisruptionBudget> items_ =
        java.util.Collections.emptyList();
      private void ensureItemsIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          items_ = new java.util.ArrayList<io.kubernetes.client.proto.V1Policy.PodDisruptionBudget>(items_);
          bitField0_ |= 0x00000002;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilder<
          io.kubernetes.client.proto.V1Policy.PodDisruptionBudget, io.kubernetes.client.proto.V1Policy.PodDisruptionBudget.Builder, io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetOrBuilder> itemsBuilder_;

      /**
       * <pre>
       * Items is a list of PodDisruptionBudgets
       * </pre>
       *
       * <code>repeated .k8s.io.api.policy.v1.PodDisruptionBudget items = 2;</code>
       */
      public java.util.List<io.kubernetes.client.proto.V1Policy.PodDisruptionBudget> getItemsList() {
        if (itemsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(items_);
        } else {
          return itemsBuilder_.getMessageList();
        }
      }
      /**
       * <pre>
       * Items is a list of PodDisruptionBudgets
       * </pre>
       *
       * <code>repeated .k8s.io.api.policy.v1.PodDisruptionBudget items = 2;</code>
       */
      public int getItemsCount() {
        if (itemsBuilder_ == null) {
          return items_.size();
        } else {
          return itemsBuilder_.getCount();
        }
      }
      /**
       * <pre>
       * Items is a list of PodDisruptionBudgets
       * </pre>
       *
       * <code>repeated .k8s.io.api.policy.v1.PodDisruptionBudget items = 2;</code>
       */
      public io.kubernetes.client.proto.V1Policy.PodDisruptionBudget getItems(int index) {
        if (itemsBuilder_ == null) {
          return items_.get(index);
        } else {
          return itemsBuilder_.getMessage(index);
        }
      }
      /**
       * <pre>
       * Items is a list of PodDisruptionBudgets
       * </pre>
       *
       * <code>repeated .k8s.io.api.policy.v1.PodDisruptionBudget items = 2;</code>
       */
      public Builder setItems(
          int index, io.kubernetes.client.proto.V1Policy.PodDisruptionBudget value) {
        if (itemsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureItemsIsMutable();
          items_.set(index, value);
          onChanged();
        } else {
          itemsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <pre>
       * Items is a list of PodDisruptionBudgets
       * </pre>
       *
       * <code>repeated .k8s.io.api.policy.v1.PodDisruptionBudget items = 2;</code>
       */
      public Builder setItems(
          int index, io.kubernetes.client.proto.V1Policy.PodDisruptionBudget.Builder builderForValue) {
        if (itemsBuilder_ == null) {
          ensureItemsIsMutable();
          items_.set(index, builderForValue.build());
          onChanged();
        } else {
          itemsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       * Items is a list of PodDisruptionBudgets
       * </pre>
       *
       * <code>repeated .k8s.io.api.policy.v1.PodDisruptionBudget items = 2;</code>
       */
      public Builder addItems(io.kubernetes.client.proto.V1Policy.PodDisruptionBudget value) {
        if (itemsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureItemsIsMutable();
          items_.add(value);
          onChanged();
        } else {
          itemsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <pre>
       * Items is a list of PodDisruptionBudgets
       * </pre>
       *
       * <code>repeated .k8s.io.api.policy.v1.PodDisruptionBudget items = 2;</code>
       */
      public Builder addItems(
          int index, io.kubernetes.client.proto.V1Policy.PodDisruptionBudget value) {
        if (itemsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureItemsIsMutable();
          items_.add(index, value);
          onChanged();
        } else {
          itemsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <pre>
       * Items is a list of PodDisruptionBudgets
       * </pre>
       *
       * <code>repeated .k8s.io.api.policy.v1.PodDisruptionBudget items = 2;</code>
       */
      public Builder addItems(
          io.kubernetes.client.proto.V1Policy.PodDisruptionBudget.Builder builderForValue) {
        if (itemsBuilder_ == null) {
          ensureItemsIsMutable();
          items_.add(builderForValue.build());
          onChanged();
        } else {
          itemsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       * Items is a list of PodDisruptionBudgets
       * </pre>
       *
       * <code>repeated .k8s.io.api.policy.v1.PodDisruptionBudget items = 2;</code>
       */
      public Builder addItems(
          int index, io.kubernetes.client.proto.V1Policy.PodDisruptionBudget.Builder builderForValue) {
        if (itemsBuilder_ == null) {
          ensureItemsIsMutable();
          items_.add(index, builderForValue.build());
          onChanged();
        } else {
          itemsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       * Items is a list of PodDisruptionBudgets
       * </pre>
       *
       * <code>repeated .k8s.io.api.policy.v1.PodDisruptionBudget items = 2;</code>
       */
      public Builder addAllItems(
          java.lang.Iterable<? extends io.kubernetes.client.proto.V1Policy.PodDisruptionBudget> values) {
        if (itemsBuilder_ == null) {
          ensureItemsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, items_);
          onChanged();
        } else {
          itemsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <pre>
       * Items is a list of PodDisruptionBudgets
       * </pre>
       *
       * <code>repeated .k8s.io.api.policy.v1.PodDisruptionBudget items = 2;</code>
       */
      public Builder clearItems() {
        if (itemsBuilder_ == null) {
          items_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
          onChanged();
        } else {
          itemsBuilder_.clear();
        }
        return this;
      }
      /**
       * <pre>
       * Items is a list of PodDisruptionBudgets
       * </pre>
       *
       * <code>repeated .k8s.io.api.policy.v1.PodDisruptionBudget items = 2;</code>
       */
      public Builder removeItems(int index) {
        if (itemsBuilder_ == null) {
          ensureItemsIsMutable();
          items_.remove(index);
          onChanged();
        } else {
          itemsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <pre>
       * Items is a list of PodDisruptionBudgets
       * </pre>
       *
       * <code>repeated .k8s.io.api.policy.v1.PodDisruptionBudget items = 2;</code>
       */
      public io.kubernetes.client.proto.V1Policy.PodDisruptionBudget.Builder getItemsBuilder(
          int index) {
        return getItemsFieldBuilder().getBuilder(index);
      }
      /**
       * <pre>
       * Items is a list of PodDisruptionBudgets
       * </pre>
       *
       * <code>repeated .k8s.io.api.policy.v1.PodDisruptionBudget items = 2;</code>
       */
      public io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetOrBuilder getItemsOrBuilder(
          int index) {
        if (itemsBuilder_ == null) {
          return items_.get(index);  } else {
          return itemsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <pre>
       * Items is a list of PodDisruptionBudgets
       * </pre>
       *
       * <code>repeated .k8s.io.api.policy.v1.PodDisruptionBudget items = 2;</code>
       */
      public java.util.List<? extends io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetOrBuilder> 
           getItemsOrBuilderList() {
        if (itemsBuilder_ != null) {
          return itemsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(items_);
        }
      }
      /**
       * <pre>
       * Items is a list of PodDisruptionBudgets
       * </pre>
       *
       * <code>repeated .k8s.io.api.policy.v1.PodDisruptionBudget items = 2;</code>
       */
      public io.kubernetes.client.proto.V1Policy.PodDisruptionBudget.Builder addItemsBuilder() {
        return getItemsFieldBuilder().addBuilder(
            io.kubernetes.client.proto.V1Policy.PodDisruptionBudget.getDefaultInstance());
      }
      /**
       * <pre>
       * Items is a list of PodDisruptionBudgets
       * </pre>
       *
       * <code>repeated .k8s.io.api.policy.v1.PodDisruptionBudget items = 2;</code>
       */
      public io.kubernetes.client.proto.V1Policy.PodDisruptionBudget.Builder addItemsBuilder(
          int index) {
        return getItemsFieldBuilder().addBuilder(
            index, io.kubernetes.client.proto.V1Policy.PodDisruptionBudget.getDefaultInstance());
      }
      /**
       * <pre>
       * Items is a list of PodDisruptionBudgets
       * </pre>
       *
       * <code>repeated .k8s.io.api.policy.v1.PodDisruptionBudget items = 2;</code>
       */
      public java.util.List<io.kubernetes.client.proto.V1Policy.PodDisruptionBudget.Builder> 
           getItemsBuilderList() {
        return getItemsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilder<
          io.kubernetes.client.proto.V1Policy.PodDisruptionBudget, io.kubernetes.client.proto.V1Policy.PodDisruptionBudget.Builder, io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetOrBuilder> 
          getItemsFieldBuilder() {
        if (itemsBuilder_ == null) {
          itemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
              io.kubernetes.client.proto.V1Policy.PodDisruptionBudget, io.kubernetes.client.proto.V1Policy.PodDisruptionBudget.Builder, io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetOrBuilder>(
                  items_,
                  ((bitField0_ & 0x00000002) != 0),
                  getParentForChildren(),
                  isClean());
          items_ = null;
        }
        return itemsBuilder_;
      }

      // @@protoc_insertion_point(builder_scope:k8s.io.api.policy.v1.PodDisruptionBudgetList)
    }

    // @@protoc_insertion_point(class_scope:k8s.io.api.policy.v1.PodDisruptionBudgetList)
    private static final io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetList DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetList();
    }

    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetList getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<PodDisruptionBudgetList>
        PARSER = new com.google.protobuf.AbstractParser<PodDisruptionBudgetList>() {
      @java.lang.Override
      public PodDisruptionBudgetList parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        Builder builder = newBuilder();
        try {
          builder.mergeFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.setUnfinishedMessage(builder.buildPartial());
        } catch (com.google.protobuf.UninitializedMessageException e) {
          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
        } catch (java.io.IOException e) {
          throw new com.google.protobuf.InvalidProtocolBufferException(e)
              .setUnfinishedMessage(builder.buildPartial());
        }
        return builder.buildPartial();
      }
    };

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

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

    @java.lang.Override
    public io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetList getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface PodDisruptionBudgetSpecOrBuilder extends
      // @@protoc_insertion_point(interface_extends:k8s.io.api.policy.v1.PodDisruptionBudgetSpec)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <pre>
     * An eviction is allowed if at least "minAvailable" pods selected by
     * "selector" will still be available after the eviction, i.e. even in the
     * absence of the evicted pod.  So for example you can prevent all voluntary
     * evictions by specifying "100%".
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString minAvailable = 1;</code>
     * @return Whether the minAvailable field is set.
     */
    boolean hasMinAvailable();
    /**
     * <pre>
     * An eviction is allowed if at least "minAvailable" pods selected by
     * "selector" will still be available after the eviction, i.e. even in the
     * absence of the evicted pod.  So for example you can prevent all voluntary
     * evictions by specifying "100%".
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString minAvailable = 1;</code>
     * @return The minAvailable.
     */
    io.kubernetes.client.proto.IntStr.IntOrString getMinAvailable();
    /**
     * <pre>
     * An eviction is allowed if at least "minAvailable" pods selected by
     * "selector" will still be available after the eviction, i.e. even in the
     * absence of the evicted pod.  So for example you can prevent all voluntary
     * evictions by specifying "100%".
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString minAvailable = 1;</code>
     */
    io.kubernetes.client.proto.IntStr.IntOrStringOrBuilder getMinAvailableOrBuilder();

    /**
     * <pre>
     * Label query over pods whose evictions are managed by the disruption
     * budget.
     * A null selector will match no pods, while an empty ({}) selector will select
     * all pods within the namespace.
     * +patchStrategy=replace
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;</code>
     * @return Whether the selector field is set.
     */
    boolean hasSelector();
    /**
     * <pre>
     * Label query over pods whose evictions are managed by the disruption
     * budget.
     * A null selector will match no pods, while an empty ({}) selector will select
     * all pods within the namespace.
     * +patchStrategy=replace
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;</code>
     * @return The selector.
     */
    io.kubernetes.client.proto.Meta.LabelSelector getSelector();
    /**
     * <pre>
     * Label query over pods whose evictions are managed by the disruption
     * budget.
     * A null selector will match no pods, while an empty ({}) selector will select
     * all pods within the namespace.
     * +patchStrategy=replace
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;</code>
     */
    io.kubernetes.client.proto.Meta.LabelSelectorOrBuilder getSelectorOrBuilder();

    /**
     * <pre>
     * An eviction is allowed if at most "maxUnavailable" pods selected by
     * "selector" are unavailable after the eviction, i.e. even in absence of
     * the evicted pod. For example, one can prevent all voluntary evictions
     * by specifying 0. This is a mutually exclusive setting with "minAvailable".
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 3;</code>
     * @return Whether the maxUnavailable field is set.
     */
    boolean hasMaxUnavailable();
    /**
     * <pre>
     * An eviction is allowed if at most "maxUnavailable" pods selected by
     * "selector" are unavailable after the eviction, i.e. even in absence of
     * the evicted pod. For example, one can prevent all voluntary evictions
     * by specifying 0. This is a mutually exclusive setting with "minAvailable".
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 3;</code>
     * @return The maxUnavailable.
     */
    io.kubernetes.client.proto.IntStr.IntOrString getMaxUnavailable();
    /**
     * <pre>
     * An eviction is allowed if at most "maxUnavailable" pods selected by
     * "selector" are unavailable after the eviction, i.e. even in absence of
     * the evicted pod. For example, one can prevent all voluntary evictions
     * by specifying 0. This is a mutually exclusive setting with "minAvailable".
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 3;</code>
     */
    io.kubernetes.client.proto.IntStr.IntOrStringOrBuilder getMaxUnavailableOrBuilder();

    /**
     * <pre>
     * UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods
     * should be considered for eviction. Current implementation considers healthy pods,
     * as pods that have status.conditions item with type="Ready",status="True".
     *
     * Valid policies are IfHealthyBudget and AlwaysAllow.
     * If no policy is specified, the default behavior will be used,
     * which corresponds to the IfHealthyBudget policy.
     *
     * IfHealthyBudget policy means that running pods (status.phase="Running"),
     * but not yet healthy can be evicted only if the guarded application is not
     * disrupted (status.currentHealthy is at least equal to status.desiredHealthy).
     * Healthy pods will be subject to the PDB for eviction.
     *
     * AlwaysAllow policy means that all running pods (status.phase="Running"),
     * but not yet healthy are considered disrupted and can be evicted regardless
     * of whether the criteria in a PDB is met. This means perspective running
     * pods of a disrupted application might not get a chance to become healthy.
     * Healthy pods will be subject to the PDB for eviction.
     *
     * Additional policies may be added in the future.
     * Clients making eviction decisions should disallow eviction of unhealthy pods
     * if they encounter an unrecognized policy in this field.
     *
     * This field is beta-level. The eviction API uses this field when
     * the feature gate PDBUnhealthyPodEvictionPolicy is enabled (enabled by default).
     * +optional
     * </pre>
     *
     * <code>optional string unhealthyPodEvictionPolicy = 4;</code>
     * @return Whether the unhealthyPodEvictionPolicy field is set.
     */
    boolean hasUnhealthyPodEvictionPolicy();
    /**
     * <pre>
     * UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods
     * should be considered for eviction. Current implementation considers healthy pods,
     * as pods that have status.conditions item with type="Ready",status="True".
     *
     * Valid policies are IfHealthyBudget and AlwaysAllow.
     * If no policy is specified, the default behavior will be used,
     * which corresponds to the IfHealthyBudget policy.
     *
     * IfHealthyBudget policy means that running pods (status.phase="Running"),
     * but not yet healthy can be evicted only if the guarded application is not
     * disrupted (status.currentHealthy is at least equal to status.desiredHealthy).
     * Healthy pods will be subject to the PDB for eviction.
     *
     * AlwaysAllow policy means that all running pods (status.phase="Running"),
     * but not yet healthy are considered disrupted and can be evicted regardless
     * of whether the criteria in a PDB is met. This means perspective running
     * pods of a disrupted application might not get a chance to become healthy.
     * Healthy pods will be subject to the PDB for eviction.
     *
     * Additional policies may be added in the future.
     * Clients making eviction decisions should disallow eviction of unhealthy pods
     * if they encounter an unrecognized policy in this field.
     *
     * This field is beta-level. The eviction API uses this field when
     * the feature gate PDBUnhealthyPodEvictionPolicy is enabled (enabled by default).
     * +optional
     * </pre>
     *
     * <code>optional string unhealthyPodEvictionPolicy = 4;</code>
     * @return The unhealthyPodEvictionPolicy.
     */
    java.lang.String getUnhealthyPodEvictionPolicy();
    /**
     * <pre>
     * UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods
     * should be considered for eviction. Current implementation considers healthy pods,
     * as pods that have status.conditions item with type="Ready",status="True".
     *
     * Valid policies are IfHealthyBudget and AlwaysAllow.
     * If no policy is specified, the default behavior will be used,
     * which corresponds to the IfHealthyBudget policy.
     *
     * IfHealthyBudget policy means that running pods (status.phase="Running"),
     * but not yet healthy can be evicted only if the guarded application is not
     * disrupted (status.currentHealthy is at least equal to status.desiredHealthy).
     * Healthy pods will be subject to the PDB for eviction.
     *
     * AlwaysAllow policy means that all running pods (status.phase="Running"),
     * but not yet healthy are considered disrupted and can be evicted regardless
     * of whether the criteria in a PDB is met. This means perspective running
     * pods of a disrupted application might not get a chance to become healthy.
     * Healthy pods will be subject to the PDB for eviction.
     *
     * Additional policies may be added in the future.
     * Clients making eviction decisions should disallow eviction of unhealthy pods
     * if they encounter an unrecognized policy in this field.
     *
     * This field is beta-level. The eviction API uses this field when
     * the feature gate PDBUnhealthyPodEvictionPolicy is enabled (enabled by default).
     * +optional
     * </pre>
     *
     * <code>optional string unhealthyPodEvictionPolicy = 4;</code>
     * @return The bytes for unhealthyPodEvictionPolicy.
     */
    com.google.protobuf.ByteString
        getUnhealthyPodEvictionPolicyBytes();
  }
  /**
   * <pre>
   * PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.
   * </pre>
   *
   * Protobuf type {@code k8s.io.api.policy.v1.PodDisruptionBudgetSpec}
   */
  public static final class PodDisruptionBudgetSpec extends
      com.google.protobuf.GeneratedMessage implements
      // @@protoc_insertion_point(message_implements:k8s.io.api.policy.v1.PodDisruptionBudgetSpec)
      PodDisruptionBudgetSpecOrBuilder {
  private static final long serialVersionUID = 0L;
    static {
      com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
        com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
        /* major= */ 4,
        /* minor= */ 26,
        /* patch= */ 1,
        /* suffix= */ "",
        PodDisruptionBudgetSpec.class.getName());
    }
    // Use PodDisruptionBudgetSpec.newBuilder() to construct.
    private PodDisruptionBudgetSpec(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
      super(builder);
    }
    private PodDisruptionBudgetSpec() {
      unhealthyPodEvictionPolicy_ = "";
    }

    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.kubernetes.client.proto.V1Policy.internal_static_k8s_io_api_policy_v1_PodDisruptionBudgetSpec_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.kubernetes.client.proto.V1Policy.internal_static_k8s_io_api_policy_v1_PodDisruptionBudgetSpec_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec.class, io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec.Builder.class);
    }

    private int bitField0_;
    public static final int MINAVAILABLE_FIELD_NUMBER = 1;
    private io.kubernetes.client.proto.IntStr.IntOrString minAvailable_;
    /**
     * <pre>
     * An eviction is allowed if at least "minAvailable" pods selected by
     * "selector" will still be available after the eviction, i.e. even in the
     * absence of the evicted pod.  So for example you can prevent all voluntary
     * evictions by specifying "100%".
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString minAvailable = 1;</code>
     * @return Whether the minAvailable field is set.
     */
    @java.lang.Override
    public boolean hasMinAvailable() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <pre>
     * An eviction is allowed if at least "minAvailable" pods selected by
     * "selector" will still be available after the eviction, i.e. even in the
     * absence of the evicted pod.  So for example you can prevent all voluntary
     * evictions by specifying "100%".
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString minAvailable = 1;</code>
     * @return The minAvailable.
     */
    @java.lang.Override
    public io.kubernetes.client.proto.IntStr.IntOrString getMinAvailable() {
      return minAvailable_ == null ? io.kubernetes.client.proto.IntStr.IntOrString.getDefaultInstance() : minAvailable_;
    }
    /**
     * <pre>
     * An eviction is allowed if at least "minAvailable" pods selected by
     * "selector" will still be available after the eviction, i.e. even in the
     * absence of the evicted pod.  So for example you can prevent all voluntary
     * evictions by specifying "100%".
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString minAvailable = 1;</code>
     */
    @java.lang.Override
    public io.kubernetes.client.proto.IntStr.IntOrStringOrBuilder getMinAvailableOrBuilder() {
      return minAvailable_ == null ? io.kubernetes.client.proto.IntStr.IntOrString.getDefaultInstance() : minAvailable_;
    }

    public static final int SELECTOR_FIELD_NUMBER = 2;
    private io.kubernetes.client.proto.Meta.LabelSelector selector_;
    /**
     * <pre>
     * Label query over pods whose evictions are managed by the disruption
     * budget.
     * A null selector will match no pods, while an empty ({}) selector will select
     * all pods within the namespace.
     * +patchStrategy=replace
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;</code>
     * @return Whether the selector field is set.
     */
    @java.lang.Override
    public boolean hasSelector() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * <pre>
     * Label query over pods whose evictions are managed by the disruption
     * budget.
     * A null selector will match no pods, while an empty ({}) selector will select
     * all pods within the namespace.
     * +patchStrategy=replace
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;</code>
     * @return The selector.
     */
    @java.lang.Override
    public io.kubernetes.client.proto.Meta.LabelSelector getSelector() {
      return selector_ == null ? io.kubernetes.client.proto.Meta.LabelSelector.getDefaultInstance() : selector_;
    }
    /**
     * <pre>
     * Label query over pods whose evictions are managed by the disruption
     * budget.
     * A null selector will match no pods, while an empty ({}) selector will select
     * all pods within the namespace.
     * +patchStrategy=replace
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;</code>
     */
    @java.lang.Override
    public io.kubernetes.client.proto.Meta.LabelSelectorOrBuilder getSelectorOrBuilder() {
      return selector_ == null ? io.kubernetes.client.proto.Meta.LabelSelector.getDefaultInstance() : selector_;
    }

    public static final int MAXUNAVAILABLE_FIELD_NUMBER = 3;
    private io.kubernetes.client.proto.IntStr.IntOrString maxUnavailable_;
    /**
     * <pre>
     * An eviction is allowed if at most "maxUnavailable" pods selected by
     * "selector" are unavailable after the eviction, i.e. even in absence of
     * the evicted pod. For example, one can prevent all voluntary evictions
     * by specifying 0. This is a mutually exclusive setting with "minAvailable".
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 3;</code>
     * @return Whether the maxUnavailable field is set.
     */
    @java.lang.Override
    public boolean hasMaxUnavailable() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * <pre>
     * An eviction is allowed if at most "maxUnavailable" pods selected by
     * "selector" are unavailable after the eviction, i.e. even in absence of
     * the evicted pod. For example, one can prevent all voluntary evictions
     * by specifying 0. This is a mutually exclusive setting with "minAvailable".
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 3;</code>
     * @return The maxUnavailable.
     */
    @java.lang.Override
    public io.kubernetes.client.proto.IntStr.IntOrString getMaxUnavailable() {
      return maxUnavailable_ == null ? io.kubernetes.client.proto.IntStr.IntOrString.getDefaultInstance() : maxUnavailable_;
    }
    /**
     * <pre>
     * An eviction is allowed if at most "maxUnavailable" pods selected by
     * "selector" are unavailable after the eviction, i.e. even in absence of
     * the evicted pod. For example, one can prevent all voluntary evictions
     * by specifying 0. This is a mutually exclusive setting with "minAvailable".
     * +optional
     * </pre>
     *
     * <code>optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 3;</code>
     */
    @java.lang.Override
    public io.kubernetes.client.proto.IntStr.IntOrStringOrBuilder getMaxUnavailableOrBuilder() {
      return maxUnavailable_ == null ? io.kubernetes.client.proto.IntStr.IntOrString.getDefaultInstance() : maxUnavailable_;
    }

    public static final int UNHEALTHYPODEVICTIONPOLICY_FIELD_NUMBER = 4;
    @SuppressWarnings("serial")
    private volatile java.lang.Object unhealthyPodEvictionPolicy_ = "";
    /**
     * <pre>
     * UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods
     * should be considered for eviction. Current implementation considers healthy pods,
     * as pods that have status.conditions item with type="Ready",status="True".
     *
     * Valid policies are IfHealthyBudget and AlwaysAllow.
     * If no policy is specified, the default behavior will be used,
     * which corresponds to the IfHealthyBudget policy.
     *
     * IfHealthyBudget policy means that running pods (status.phase="Running"),
     * but not yet healthy can be evicted only if the guarded application is not
     * disrupted (status.currentHealthy is at least equal to status.desiredHealthy).
     * Healthy pods will be subject to the PDB for eviction.
     *
     * AlwaysAllow policy means that all running pods (status.phase="Running"),
     * but not yet healthy are considered disrupted and can be evicted regardless
     * of whether the criteria in a PDB is met. This means perspective running
     * pods of a disrupted application might not get a chance to become healthy.
     * Healthy pods will be subject to the PDB for eviction.
     *
     * Additional policies may be added in the future.
     * Clients making eviction decisions should disallow eviction of unhealthy pods
     * if they encounter an unrecognized policy in this field.
     *
     * This field is beta-level. The eviction API uses this field when
     * the feature gate PDBUnhealthyPodEvictionPolicy is enabled (enabled by default).
     * +optional
     * </pre>
     *
     * <code>optional string unhealthyPodEvictionPolicy = 4;</code>
     * @return Whether the unhealthyPodEvictionPolicy field is set.
     */
    @java.lang.Override
    public boolean hasUnhealthyPodEvictionPolicy() {
      return ((bitField0_ & 0x00000008) != 0);
    }
    /**
     * <pre>
     * UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods
     * should be considered for eviction. Current implementation considers healthy pods,
     * as pods that have status.conditions item with type="Ready",status="True".
     *
     * Valid policies are IfHealthyBudget and AlwaysAllow.
     * If no policy is specified, the default behavior will be used,
     * which corresponds to the IfHealthyBudget policy.
     *
     * IfHealthyBudget policy means that running pods (status.phase="Running"),
     * but not yet healthy can be evicted only if the guarded application is not
     * disrupted (status.currentHealthy is at least equal to status.desiredHealthy).
     * Healthy pods will be subject to the PDB for eviction.
     *
     * AlwaysAllow policy means that all running pods (status.phase="Running"),
     * but not yet healthy are considered disrupted and can be evicted regardless
     * of whether the criteria in a PDB is met. This means perspective running
     * pods of a disrupted application might not get a chance to become healthy.
     * Healthy pods will be subject to the PDB for eviction.
     *
     * Additional policies may be added in the future.
     * Clients making eviction decisions should disallow eviction of unhealthy pods
     * if they encounter an unrecognized policy in this field.
     *
     * This field is beta-level. The eviction API uses this field when
     * the feature gate PDBUnhealthyPodEvictionPolicy is enabled (enabled by default).
     * +optional
     * </pre>
     *
     * <code>optional string unhealthyPodEvictionPolicy = 4;</code>
     * @return The unhealthyPodEvictionPolicy.
     */
    @java.lang.Override
    public java.lang.String getUnhealthyPodEvictionPolicy() {
      java.lang.Object ref = unhealthyPodEvictionPolicy_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        if (bs.isValidUtf8()) {
          unhealthyPodEvictionPolicy_ = s;
        }
        return s;
      }
    }
    /**
     * <pre>
     * UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods
     * should be considered for eviction. Current implementation considers healthy pods,
     * as pods that have status.conditions item with type="Ready",status="True".
     *
     * Valid policies are IfHealthyBudget and AlwaysAllow.
     * If no policy is specified, the default behavior will be used,
     * which corresponds to the IfHealthyBudget policy.
     *
     * IfHealthyBudget policy means that running pods (status.phase="Running"),
     * but not yet healthy can be evicted only if the guarded application is not
     * disrupted (status.currentHealthy is at least equal to status.desiredHealthy).
     * Healthy pods will be subject to the PDB for eviction.
     *
     * AlwaysAllow policy means that all running pods (status.phase="Running"),
     * but not yet healthy are considered disrupted and can be evicted regardless
     * of whether the criteria in a PDB is met. This means perspective running
     * pods of a disrupted application might not get a chance to become healthy.
     * Healthy pods will be subject to the PDB for eviction.
     *
     * Additional policies may be added in the future.
     * Clients making eviction decisions should disallow eviction of unhealthy pods
     * if they encounter an unrecognized policy in this field.
     *
     * This field is beta-level. The eviction API uses this field when
     * the feature gate PDBUnhealthyPodEvictionPolicy is enabled (enabled by default).
     * +optional
     * </pre>
     *
     * <code>optional string unhealthyPodEvictionPolicy = 4;</code>
     * @return The bytes for unhealthyPodEvictionPolicy.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getUnhealthyPodEvictionPolicyBytes() {
      java.lang.Object ref = unhealthyPodEvictionPolicy_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        unhealthyPodEvictionPolicy_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    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 (((bitField0_ & 0x00000001) != 0)) {
        output.writeMessage(1, getMinAvailable());
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        output.writeMessage(2, getSelector());
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        output.writeMessage(3, getMaxUnavailable());
      }
      if (((bitField0_ & 0x00000008) != 0)) {
        com.google.protobuf.GeneratedMessage.writeString(output, 4, unhealthyPodEvictionPolicy_);
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      if (((bitField0_ & 0x00000001) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getMinAvailable());
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getSelector());
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, getMaxUnavailable());
      }
      if (((bitField0_ & 0x00000008) != 0)) {
        size += com.google.protobuf.GeneratedMessage.computeStringSize(4, unhealthyPodEvictionPolicy_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec)) {
        return super.equals(obj);
      }
      io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec other = (io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec) obj;

      if (hasMinAvailable() != other.hasMinAvailable()) return false;
      if (hasMinAvailable()) {
        if (!getMinAvailable()
            .equals(other.getMinAvailable())) return false;
      }
      if (hasSelector() != other.hasSelector()) return false;
      if (hasSelector()) {
        if (!getSelector()
            .equals(other.getSelector())) return false;
      }
      if (hasMaxUnavailable() != other.hasMaxUnavailable()) return false;
      if (hasMaxUnavailable()) {
        if (!getMaxUnavailable()
            .equals(other.getMaxUnavailable())) return false;
      }
      if (hasUnhealthyPodEvictionPolicy() != other.hasUnhealthyPodEvictionPolicy()) return false;
      if (hasUnhealthyPodEvictionPolicy()) {
        if (!getUnhealthyPodEvictionPolicy()
            .equals(other.getUnhealthyPodEvictionPolicy())) return false;
      }
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasMinAvailable()) {
        hash = (37 * hash) + MINAVAILABLE_FIELD_NUMBER;
        hash = (53 * hash) + getMinAvailable().hashCode();
      }
      if (hasSelector()) {
        hash = (37 * hash) + SELECTOR_FIELD_NUMBER;
        hash = (53 * hash) + getSelector().hashCode();
      }
      if (hasMaxUnavailable()) {
        hash = (37 * hash) + MAXUNAVAILABLE_FIELD_NUMBER;
        hash = (53 * hash) + getMaxUnavailable().hashCode();
      }
      if (hasUnhealthyPodEvictionPolicy()) {
        hash = (37 * hash) + UNHEALTHYPODEVICTIONPOLICY_FIELD_NUMBER;
        hash = (53 * hash) + getUnhealthyPodEvictionPolicy().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseWithIOException(PARSER, input);
    }
    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseDelimitedWithIOException(PARSER, input);
    }

    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseWithIOException(PARSER, input);
    }
    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec 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.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * <pre>
     * PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.
     * </pre>
     *
     * Protobuf type {@code k8s.io.api.policy.v1.PodDisruptionBudgetSpec}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:k8s.io.api.policy.v1.PodDisruptionBudgetSpec)
        io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpecOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.kubernetes.client.proto.V1Policy.internal_static_k8s_io_api_policy_v1_PodDisruptionBudgetSpec_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return io.kubernetes.client.proto.V1Policy.internal_static_k8s_io_api_policy_v1_PodDisruptionBudgetSpec_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec.class, io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec.Builder.class);
      }

      // Construct using io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage
                .alwaysUseFieldBuilders) {
          getMinAvailableFieldBuilder();
          getSelectorFieldBuilder();
          getMaxUnavailableFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        minAvailable_ = null;
        if (minAvailableBuilder_ != null) {
          minAvailableBuilder_.dispose();
          minAvailableBuilder_ = null;
        }
        selector_ = null;
        if (selectorBuilder_ != null) {
          selectorBuilder_.dispose();
          selectorBuilder_ = null;
        }
        maxUnavailable_ = null;
        if (maxUnavailableBuilder_ != null) {
          maxUnavailableBuilder_.dispose();
          maxUnavailableBuilder_ = null;
        }
        unhealthyPodEvictionPolicy_ = "";
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return io.kubernetes.client.proto.V1Policy.internal_static_k8s_io_api_policy_v1_PodDisruptionBudgetSpec_descriptor;
      }

      @java.lang.Override
      public io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec getDefaultInstanceForType() {
        return io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec.getDefaultInstance();
      }

      @java.lang.Override
      public io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec build() {
        io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec buildPartial() {
        io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec result = new io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec(this);
        if (bitField0_ != 0) { buildPartial0(result); }
        onBuilt();
        return result;
      }

      private void buildPartial0(io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec result) {
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.minAvailable_ = minAvailableBuilder_ == null
              ? minAvailable_
              : minAvailableBuilder_.build();
          to_bitField0_ |= 0x00000001;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.selector_ = selectorBuilder_ == null
              ? selector_
              : selectorBuilder_.build();
          to_bitField0_ |= 0x00000002;
        }
        if (((from_bitField0_ & 0x00000004) != 0)) {
          result.maxUnavailable_ = maxUnavailableBuilder_ == null
              ? maxUnavailable_
              : maxUnavailableBuilder_.build();
          to_bitField0_ |= 0x00000004;
        }
        if (((from_bitField0_ & 0x00000008) != 0)) {
          result.unhealthyPodEvictionPolicy_ = unhealthyPodEvictionPolicy_;
          to_bitField0_ |= 0x00000008;
        }
        result.bitField0_ |= to_bitField0_;
      }

      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec) {
          return mergeFrom((io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec other) {
        if (other == io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec.getDefaultInstance()) return this;
        if (other.hasMinAvailable()) {
          mergeMinAvailable(other.getMinAvailable());
        }
        if (other.hasSelector()) {
          mergeSelector(other.getSelector());
        }
        if (other.hasMaxUnavailable()) {
          mergeMaxUnavailable(other.getMaxUnavailable());
        }
        if (other.hasUnhealthyPodEvictionPolicy()) {
          unhealthyPodEvictionPolicy_ = other.unhealthyPodEvictionPolicy_;
          bitField0_ |= 0x00000008;
          onChanged();
        }
        this.mergeUnknownFields(other.getUnknownFields());
        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 {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 10: {
                input.readMessage(
                    getMinAvailableFieldBuilder().getBuilder(),
                    extensionRegistry);
                bitField0_ |= 0x00000001;
                break;
              } // case 10
              case 18: {
                input.readMessage(
                    getSelectorFieldBuilder().getBuilder(),
                    extensionRegistry);
                bitField0_ |= 0x00000002;
                break;
              } // case 18
              case 26: {
                input.readMessage(
                    getMaxUnavailableFieldBuilder().getBuilder(),
                    extensionRegistry);
                bitField0_ |= 0x00000004;
                break;
              } // case 26
              case 34: {
                unhealthyPodEvictionPolicy_ = input.readBytes();
                bitField0_ |= 0x00000008;
                break;
              } // case 34
              default: {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }
      private int bitField0_;

      private io.kubernetes.client.proto.IntStr.IntOrString minAvailable_;
      private com.google.protobuf.SingleFieldBuilder<
          io.kubernetes.client.proto.IntStr.IntOrString, io.kubernetes.client.proto.IntStr.IntOrString.Builder, io.kubernetes.client.proto.IntStr.IntOrStringOrBuilder> minAvailableBuilder_;
      /**
       * <pre>
       * An eviction is allowed if at least "minAvailable" pods selected by
       * "selector" will still be available after the eviction, i.e. even in the
       * absence of the evicted pod.  So for example you can prevent all voluntary
       * evictions by specifying "100%".
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString minAvailable = 1;</code>
       * @return Whether the minAvailable field is set.
       */
      public boolean hasMinAvailable() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * <pre>
       * An eviction is allowed if at least "minAvailable" pods selected by
       * "selector" will still be available after the eviction, i.e. even in the
       * absence of the evicted pod.  So for example you can prevent all voluntary
       * evictions by specifying "100%".
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString minAvailable = 1;</code>
       * @return The minAvailable.
       */
      public io.kubernetes.client.proto.IntStr.IntOrString getMinAvailable() {
        if (minAvailableBuilder_ == null) {
          return minAvailable_ == null ? io.kubernetes.client.proto.IntStr.IntOrString.getDefaultInstance() : minAvailable_;
        } else {
          return minAvailableBuilder_.getMessage();
        }
      }
      /**
       * <pre>
       * An eviction is allowed if at least "minAvailable" pods selected by
       * "selector" will still be available after the eviction, i.e. even in the
       * absence of the evicted pod.  So for example you can prevent all voluntary
       * evictions by specifying "100%".
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString minAvailable = 1;</code>
       */
      public Builder setMinAvailable(io.kubernetes.client.proto.IntStr.IntOrString value) {
        if (minAvailableBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          minAvailable_ = value;
        } else {
          minAvailableBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * An eviction is allowed if at least "minAvailable" pods selected by
       * "selector" will still be available after the eviction, i.e. even in the
       * absence of the evicted pod.  So for example you can prevent all voluntary
       * evictions by specifying "100%".
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString minAvailable = 1;</code>
       */
      public Builder setMinAvailable(
          io.kubernetes.client.proto.IntStr.IntOrString.Builder builderForValue) {
        if (minAvailableBuilder_ == null) {
          minAvailable_ = builderForValue.build();
        } else {
          minAvailableBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * An eviction is allowed if at least "minAvailable" pods selected by
       * "selector" will still be available after the eviction, i.e. even in the
       * absence of the evicted pod.  So for example you can prevent all voluntary
       * evictions by specifying "100%".
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString minAvailable = 1;</code>
       */
      public Builder mergeMinAvailable(io.kubernetes.client.proto.IntStr.IntOrString value) {
        if (minAvailableBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0) &&
            minAvailable_ != null &&
            minAvailable_ != io.kubernetes.client.proto.IntStr.IntOrString.getDefaultInstance()) {
            getMinAvailableBuilder().mergeFrom(value);
          } else {
            minAvailable_ = value;
          }
        } else {
          minAvailableBuilder_.mergeFrom(value);
        }
        if (minAvailable_ != null) {
          bitField0_ |= 0x00000001;
          onChanged();
        }
        return this;
      }
      /**
       * <pre>
       * An eviction is allowed if at least "minAvailable" pods selected by
       * "selector" will still be available after the eviction, i.e. even in the
       * absence of the evicted pod.  So for example you can prevent all voluntary
       * evictions by specifying "100%".
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString minAvailable = 1;</code>
       */
      public Builder clearMinAvailable() {
        bitField0_ = (bitField0_ & ~0x00000001);
        minAvailable_ = null;
        if (minAvailableBuilder_ != null) {
          minAvailableBuilder_.dispose();
          minAvailableBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /**
       * <pre>
       * An eviction is allowed if at least "minAvailable" pods selected by
       * "selector" will still be available after the eviction, i.e. even in the
       * absence of the evicted pod.  So for example you can prevent all voluntary
       * evictions by specifying "100%".
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString minAvailable = 1;</code>
       */
      public io.kubernetes.client.proto.IntStr.IntOrString.Builder getMinAvailableBuilder() {
        bitField0_ |= 0x00000001;
        onChanged();
        return getMinAvailableFieldBuilder().getBuilder();
      }
      /**
       * <pre>
       * An eviction is allowed if at least "minAvailable" pods selected by
       * "selector" will still be available after the eviction, i.e. even in the
       * absence of the evicted pod.  So for example you can prevent all voluntary
       * evictions by specifying "100%".
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString minAvailable = 1;</code>
       */
      public io.kubernetes.client.proto.IntStr.IntOrStringOrBuilder getMinAvailableOrBuilder() {
        if (minAvailableBuilder_ != null) {
          return minAvailableBuilder_.getMessageOrBuilder();
        } else {
          return minAvailable_ == null ?
              io.kubernetes.client.proto.IntStr.IntOrString.getDefaultInstance() : minAvailable_;
        }
      }
      /**
       * <pre>
       * An eviction is allowed if at least "minAvailable" pods selected by
       * "selector" will still be available after the eviction, i.e. even in the
       * absence of the evicted pod.  So for example you can prevent all voluntary
       * evictions by specifying "100%".
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString minAvailable = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilder<
          io.kubernetes.client.proto.IntStr.IntOrString, io.kubernetes.client.proto.IntStr.IntOrString.Builder, io.kubernetes.client.proto.IntStr.IntOrStringOrBuilder> 
          getMinAvailableFieldBuilder() {
        if (minAvailableBuilder_ == null) {
          minAvailableBuilder_ = new com.google.protobuf.SingleFieldBuilder<
              io.kubernetes.client.proto.IntStr.IntOrString, io.kubernetes.client.proto.IntStr.IntOrString.Builder, io.kubernetes.client.proto.IntStr.IntOrStringOrBuilder>(
                  getMinAvailable(),
                  getParentForChildren(),
                  isClean());
          minAvailable_ = null;
        }
        return minAvailableBuilder_;
      }

      private io.kubernetes.client.proto.Meta.LabelSelector selector_;
      private com.google.protobuf.SingleFieldBuilder<
          io.kubernetes.client.proto.Meta.LabelSelector, io.kubernetes.client.proto.Meta.LabelSelector.Builder, io.kubernetes.client.proto.Meta.LabelSelectorOrBuilder> selectorBuilder_;
      /**
       * <pre>
       * Label query over pods whose evictions are managed by the disruption
       * budget.
       * A null selector will match no pods, while an empty ({}) selector will select
       * all pods within the namespace.
       * +patchStrategy=replace
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;</code>
       * @return Whether the selector field is set.
       */
      public boolean hasSelector() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * <pre>
       * Label query over pods whose evictions are managed by the disruption
       * budget.
       * A null selector will match no pods, while an empty ({}) selector will select
       * all pods within the namespace.
       * +patchStrategy=replace
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;</code>
       * @return The selector.
       */
      public io.kubernetes.client.proto.Meta.LabelSelector getSelector() {
        if (selectorBuilder_ == null) {
          return selector_ == null ? io.kubernetes.client.proto.Meta.LabelSelector.getDefaultInstance() : selector_;
        } else {
          return selectorBuilder_.getMessage();
        }
      }
      /**
       * <pre>
       * Label query over pods whose evictions are managed by the disruption
       * budget.
       * A null selector will match no pods, while an empty ({}) selector will select
       * all pods within the namespace.
       * +patchStrategy=replace
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;</code>
       */
      public Builder setSelector(io.kubernetes.client.proto.Meta.LabelSelector value) {
        if (selectorBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          selector_ = value;
        } else {
          selectorBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Label query over pods whose evictions are managed by the disruption
       * budget.
       * A null selector will match no pods, while an empty ({}) selector will select
       * all pods within the namespace.
       * +patchStrategy=replace
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;</code>
       */
      public Builder setSelector(
          io.kubernetes.client.proto.Meta.LabelSelector.Builder builderForValue) {
        if (selectorBuilder_ == null) {
          selector_ = builderForValue.build();
        } else {
          selectorBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Label query over pods whose evictions are managed by the disruption
       * budget.
       * A null selector will match no pods, while an empty ({}) selector will select
       * all pods within the namespace.
       * +patchStrategy=replace
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;</code>
       */
      public Builder mergeSelector(io.kubernetes.client.proto.Meta.LabelSelector value) {
        if (selectorBuilder_ == null) {
          if (((bitField0_ & 0x00000002) != 0) &&
            selector_ != null &&
            selector_ != io.kubernetes.client.proto.Meta.LabelSelector.getDefaultInstance()) {
            getSelectorBuilder().mergeFrom(value);
          } else {
            selector_ = value;
          }
        } else {
          selectorBuilder_.mergeFrom(value);
        }
        if (selector_ != null) {
          bitField0_ |= 0x00000002;
          onChanged();
        }
        return this;
      }
      /**
       * <pre>
       * Label query over pods whose evictions are managed by the disruption
       * budget.
       * A null selector will match no pods, while an empty ({}) selector will select
       * all pods within the namespace.
       * +patchStrategy=replace
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;</code>
       */
      public Builder clearSelector() {
        bitField0_ = (bitField0_ & ~0x00000002);
        selector_ = null;
        if (selectorBuilder_ != null) {
          selectorBuilder_.dispose();
          selectorBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Label query over pods whose evictions are managed by the disruption
       * budget.
       * A null selector will match no pods, while an empty ({}) selector will select
       * all pods within the namespace.
       * +patchStrategy=replace
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;</code>
       */
      public io.kubernetes.client.proto.Meta.LabelSelector.Builder getSelectorBuilder() {
        bitField0_ |= 0x00000002;
        onChanged();
        return getSelectorFieldBuilder().getBuilder();
      }
      /**
       * <pre>
       * Label query over pods whose evictions are managed by the disruption
       * budget.
       * A null selector will match no pods, while an empty ({}) selector will select
       * all pods within the namespace.
       * +patchStrategy=replace
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;</code>
       */
      public io.kubernetes.client.proto.Meta.LabelSelectorOrBuilder getSelectorOrBuilder() {
        if (selectorBuilder_ != null) {
          return selectorBuilder_.getMessageOrBuilder();
        } else {
          return selector_ == null ?
              io.kubernetes.client.proto.Meta.LabelSelector.getDefaultInstance() : selector_;
        }
      }
      /**
       * <pre>
       * Label query over pods whose evictions are managed by the disruption
       * budget.
       * A null selector will match no pods, while an empty ({}) selector will select
       * all pods within the namespace.
       * +patchStrategy=replace
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;</code>
       */
      private com.google.protobuf.SingleFieldBuilder<
          io.kubernetes.client.proto.Meta.LabelSelector, io.kubernetes.client.proto.Meta.LabelSelector.Builder, io.kubernetes.client.proto.Meta.LabelSelectorOrBuilder> 
          getSelectorFieldBuilder() {
        if (selectorBuilder_ == null) {
          selectorBuilder_ = new com.google.protobuf.SingleFieldBuilder<
              io.kubernetes.client.proto.Meta.LabelSelector, io.kubernetes.client.proto.Meta.LabelSelector.Builder, io.kubernetes.client.proto.Meta.LabelSelectorOrBuilder>(
                  getSelector(),
                  getParentForChildren(),
                  isClean());
          selector_ = null;
        }
        return selectorBuilder_;
      }

      private io.kubernetes.client.proto.IntStr.IntOrString maxUnavailable_;
      private com.google.protobuf.SingleFieldBuilder<
          io.kubernetes.client.proto.IntStr.IntOrString, io.kubernetes.client.proto.IntStr.IntOrString.Builder, io.kubernetes.client.proto.IntStr.IntOrStringOrBuilder> maxUnavailableBuilder_;
      /**
       * <pre>
       * An eviction is allowed if at most "maxUnavailable" pods selected by
       * "selector" are unavailable after the eviction, i.e. even in absence of
       * the evicted pod. For example, one can prevent all voluntary evictions
       * by specifying 0. This is a mutually exclusive setting with "minAvailable".
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 3;</code>
       * @return Whether the maxUnavailable field is set.
       */
      public boolean hasMaxUnavailable() {
        return ((bitField0_ & 0x00000004) != 0);
      }
      /**
       * <pre>
       * An eviction is allowed if at most "maxUnavailable" pods selected by
       * "selector" are unavailable after the eviction, i.e. even in absence of
       * the evicted pod. For example, one can prevent all voluntary evictions
       * by specifying 0. This is a mutually exclusive setting with "minAvailable".
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 3;</code>
       * @return The maxUnavailable.
       */
      public io.kubernetes.client.proto.IntStr.IntOrString getMaxUnavailable() {
        if (maxUnavailableBuilder_ == null) {
          return maxUnavailable_ == null ? io.kubernetes.client.proto.IntStr.IntOrString.getDefaultInstance() : maxUnavailable_;
        } else {
          return maxUnavailableBuilder_.getMessage();
        }
      }
      /**
       * <pre>
       * An eviction is allowed if at most "maxUnavailable" pods selected by
       * "selector" are unavailable after the eviction, i.e. even in absence of
       * the evicted pod. For example, one can prevent all voluntary evictions
       * by specifying 0. This is a mutually exclusive setting with "minAvailable".
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 3;</code>
       */
      public Builder setMaxUnavailable(io.kubernetes.client.proto.IntStr.IntOrString value) {
        if (maxUnavailableBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          maxUnavailable_ = value;
        } else {
          maxUnavailableBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * An eviction is allowed if at most "maxUnavailable" pods selected by
       * "selector" are unavailable after the eviction, i.e. even in absence of
       * the evicted pod. For example, one can prevent all voluntary evictions
       * by specifying 0. This is a mutually exclusive setting with "minAvailable".
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 3;</code>
       */
      public Builder setMaxUnavailable(
          io.kubernetes.client.proto.IntStr.IntOrString.Builder builderForValue) {
        if (maxUnavailableBuilder_ == null) {
          maxUnavailable_ = builderForValue.build();
        } else {
          maxUnavailableBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * An eviction is allowed if at most "maxUnavailable" pods selected by
       * "selector" are unavailable after the eviction, i.e. even in absence of
       * the evicted pod. For example, one can prevent all voluntary evictions
       * by specifying 0. This is a mutually exclusive setting with "minAvailable".
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 3;</code>
       */
      public Builder mergeMaxUnavailable(io.kubernetes.client.proto.IntStr.IntOrString value) {
        if (maxUnavailableBuilder_ == null) {
          if (((bitField0_ & 0x00000004) != 0) &&
            maxUnavailable_ != null &&
            maxUnavailable_ != io.kubernetes.client.proto.IntStr.IntOrString.getDefaultInstance()) {
            getMaxUnavailableBuilder().mergeFrom(value);
          } else {
            maxUnavailable_ = value;
          }
        } else {
          maxUnavailableBuilder_.mergeFrom(value);
        }
        if (maxUnavailable_ != null) {
          bitField0_ |= 0x00000004;
          onChanged();
        }
        return this;
      }
      /**
       * <pre>
       * An eviction is allowed if at most "maxUnavailable" pods selected by
       * "selector" are unavailable after the eviction, i.e. even in absence of
       * the evicted pod. For example, one can prevent all voluntary evictions
       * by specifying 0. This is a mutually exclusive setting with "minAvailable".
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 3;</code>
       */
      public Builder clearMaxUnavailable() {
        bitField0_ = (bitField0_ & ~0x00000004);
        maxUnavailable_ = null;
        if (maxUnavailableBuilder_ != null) {
          maxUnavailableBuilder_.dispose();
          maxUnavailableBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /**
       * <pre>
       * An eviction is allowed if at most "maxUnavailable" pods selected by
       * "selector" are unavailable after the eviction, i.e. even in absence of
       * the evicted pod. For example, one can prevent all voluntary evictions
       * by specifying 0. This is a mutually exclusive setting with "minAvailable".
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 3;</code>
       */
      public io.kubernetes.client.proto.IntStr.IntOrString.Builder getMaxUnavailableBuilder() {
        bitField0_ |= 0x00000004;
        onChanged();
        return getMaxUnavailableFieldBuilder().getBuilder();
      }
      /**
       * <pre>
       * An eviction is allowed if at most "maxUnavailable" pods selected by
       * "selector" are unavailable after the eviction, i.e. even in absence of
       * the evicted pod. For example, one can prevent all voluntary evictions
       * by specifying 0. This is a mutually exclusive setting with "minAvailable".
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 3;</code>
       */
      public io.kubernetes.client.proto.IntStr.IntOrStringOrBuilder getMaxUnavailableOrBuilder() {
        if (maxUnavailableBuilder_ != null) {
          return maxUnavailableBuilder_.getMessageOrBuilder();
        } else {
          return maxUnavailable_ == null ?
              io.kubernetes.client.proto.IntStr.IntOrString.getDefaultInstance() : maxUnavailable_;
        }
      }
      /**
       * <pre>
       * An eviction is allowed if at most "maxUnavailable" pods selected by
       * "selector" are unavailable after the eviction, i.e. even in absence of
       * the evicted pod. For example, one can prevent all voluntary evictions
       * by specifying 0. This is a mutually exclusive setting with "minAvailable".
       * +optional
       * </pre>
       *
       * <code>optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 3;</code>
       */
      private com.google.protobuf.SingleFieldBuilder<
          io.kubernetes.client.proto.IntStr.IntOrString, io.kubernetes.client.proto.IntStr.IntOrString.Builder, io.kubernetes.client.proto.IntStr.IntOrStringOrBuilder> 
          getMaxUnavailableFieldBuilder() {
        if (maxUnavailableBuilder_ == null) {
          maxUnavailableBuilder_ = new com.google.protobuf.SingleFieldBuilder<
              io.kubernetes.client.proto.IntStr.IntOrString, io.kubernetes.client.proto.IntStr.IntOrString.Builder, io.kubernetes.client.proto.IntStr.IntOrStringOrBuilder>(
                  getMaxUnavailable(),
                  getParentForChildren(),
                  isClean());
          maxUnavailable_ = null;
        }
        return maxUnavailableBuilder_;
      }

      private java.lang.Object unhealthyPodEvictionPolicy_ = "";
      /**
       * <pre>
       * UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods
       * should be considered for eviction. Current implementation considers healthy pods,
       * as pods that have status.conditions item with type="Ready",status="True".
       *
       * Valid policies are IfHealthyBudget and AlwaysAllow.
       * If no policy is specified, the default behavior will be used,
       * which corresponds to the IfHealthyBudget policy.
       *
       * IfHealthyBudget policy means that running pods (status.phase="Running"),
       * but not yet healthy can be evicted only if the guarded application is not
       * disrupted (status.currentHealthy is at least equal to status.desiredHealthy).
       * Healthy pods will be subject to the PDB for eviction.
       *
       * AlwaysAllow policy means that all running pods (status.phase="Running"),
       * but not yet healthy are considered disrupted and can be evicted regardless
       * of whether the criteria in a PDB is met. This means perspective running
       * pods of a disrupted application might not get a chance to become healthy.
       * Healthy pods will be subject to the PDB for eviction.
       *
       * Additional policies may be added in the future.
       * Clients making eviction decisions should disallow eviction of unhealthy pods
       * if they encounter an unrecognized policy in this field.
       *
       * This field is beta-level. The eviction API uses this field when
       * the feature gate PDBUnhealthyPodEvictionPolicy is enabled (enabled by default).
       * +optional
       * </pre>
       *
       * <code>optional string unhealthyPodEvictionPolicy = 4;</code>
       * @return Whether the unhealthyPodEvictionPolicy field is set.
       */
      public boolean hasUnhealthyPodEvictionPolicy() {
        return ((bitField0_ & 0x00000008) != 0);
      }
      /**
       * <pre>
       * UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods
       * should be considered for eviction. Current implementation considers healthy pods,
       * as pods that have status.conditions item with type="Ready",status="True".
       *
       * Valid policies are IfHealthyBudget and AlwaysAllow.
       * If no policy is specified, the default behavior will be used,
       * which corresponds to the IfHealthyBudget policy.
       *
       * IfHealthyBudget policy means that running pods (status.phase="Running"),
       * but not yet healthy can be evicted only if the guarded application is not
       * disrupted (status.currentHealthy is at least equal to status.desiredHealthy).
       * Healthy pods will be subject to the PDB for eviction.
       *
       * AlwaysAllow policy means that all running pods (status.phase="Running"),
       * but not yet healthy are considered disrupted and can be evicted regardless
       * of whether the criteria in a PDB is met. This means perspective running
       * pods of a disrupted application might not get a chance to become healthy.
       * Healthy pods will be subject to the PDB for eviction.
       *
       * Additional policies may be added in the future.
       * Clients making eviction decisions should disallow eviction of unhealthy pods
       * if they encounter an unrecognized policy in this field.
       *
       * This field is beta-level. The eviction API uses this field when
       * the feature gate PDBUnhealthyPodEvictionPolicy is enabled (enabled by default).
       * +optional
       * </pre>
       *
       * <code>optional string unhealthyPodEvictionPolicy = 4;</code>
       * @return The unhealthyPodEvictionPolicy.
       */
      public java.lang.String getUnhealthyPodEvictionPolicy() {
        java.lang.Object ref = unhealthyPodEvictionPolicy_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          if (bs.isValidUtf8()) {
            unhealthyPodEvictionPolicy_ = s;
          }
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       * UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods
       * should be considered for eviction. Current implementation considers healthy pods,
       * as pods that have status.conditions item with type="Ready",status="True".
       *
       * Valid policies are IfHealthyBudget and AlwaysAllow.
       * If no policy is specified, the default behavior will be used,
       * which corresponds to the IfHealthyBudget policy.
       *
       * IfHealthyBudget policy means that running pods (status.phase="Running"),
       * but not yet healthy can be evicted only if the guarded application is not
       * disrupted (status.currentHealthy is at least equal to status.desiredHealthy).
       * Healthy pods will be subject to the PDB for eviction.
       *
       * AlwaysAllow policy means that all running pods (status.phase="Running"),
       * but not yet healthy are considered disrupted and can be evicted regardless
       * of whether the criteria in a PDB is met. This means perspective running
       * pods of a disrupted application might not get a chance to become healthy.
       * Healthy pods will be subject to the PDB for eviction.
       *
       * Additional policies may be added in the future.
       * Clients making eviction decisions should disallow eviction of unhealthy pods
       * if they encounter an unrecognized policy in this field.
       *
       * This field is beta-level. The eviction API uses this field when
       * the feature gate PDBUnhealthyPodEvictionPolicy is enabled (enabled by default).
       * +optional
       * </pre>
       *
       * <code>optional string unhealthyPodEvictionPolicy = 4;</code>
       * @return The bytes for unhealthyPodEvictionPolicy.
       */
      public com.google.protobuf.ByteString
          getUnhealthyPodEvictionPolicyBytes() {
        java.lang.Object ref = unhealthyPodEvictionPolicy_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          unhealthyPodEvictionPolicy_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       * UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods
       * should be considered for eviction. Current implementation considers healthy pods,
       * as pods that have status.conditions item with type="Ready",status="True".
       *
       * Valid policies are IfHealthyBudget and AlwaysAllow.
       * If no policy is specified, the default behavior will be used,
       * which corresponds to the IfHealthyBudget policy.
       *
       * IfHealthyBudget policy means that running pods (status.phase="Running"),
       * but not yet healthy can be evicted only if the guarded application is not
       * disrupted (status.currentHealthy is at least equal to status.desiredHealthy).
       * Healthy pods will be subject to the PDB for eviction.
       *
       * AlwaysAllow policy means that all running pods (status.phase="Running"),
       * but not yet healthy are considered disrupted and can be evicted regardless
       * of whether the criteria in a PDB is met. This means perspective running
       * pods of a disrupted application might not get a chance to become healthy.
       * Healthy pods will be subject to the PDB for eviction.
       *
       * Additional policies may be added in the future.
       * Clients making eviction decisions should disallow eviction of unhealthy pods
       * if they encounter an unrecognized policy in this field.
       *
       * This field is beta-level. The eviction API uses this field when
       * the feature gate PDBUnhealthyPodEvictionPolicy is enabled (enabled by default).
       * +optional
       * </pre>
       *
       * <code>optional string unhealthyPodEvictionPolicy = 4;</code>
       * @param value The unhealthyPodEvictionPolicy to set.
       * @return This builder for chaining.
       */
      public Builder setUnhealthyPodEvictionPolicy(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        unhealthyPodEvictionPolicy_ = value;
        bitField0_ |= 0x00000008;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods
       * should be considered for eviction. Current implementation considers healthy pods,
       * as pods that have status.conditions item with type="Ready",status="True".
       *
       * Valid policies are IfHealthyBudget and AlwaysAllow.
       * If no policy is specified, the default behavior will be used,
       * which corresponds to the IfHealthyBudget policy.
       *
       * IfHealthyBudget policy means that running pods (status.phase="Running"),
       * but not yet healthy can be evicted only if the guarded application is not
       * disrupted (status.currentHealthy is at least equal to status.desiredHealthy).
       * Healthy pods will be subject to the PDB for eviction.
       *
       * AlwaysAllow policy means that all running pods (status.phase="Running"),
       * but not yet healthy are considered disrupted and can be evicted regardless
       * of whether the criteria in a PDB is met. This means perspective running
       * pods of a disrupted application might not get a chance to become healthy.
       * Healthy pods will be subject to the PDB for eviction.
       *
       * Additional policies may be added in the future.
       * Clients making eviction decisions should disallow eviction of unhealthy pods
       * if they encounter an unrecognized policy in this field.
       *
       * This field is beta-level. The eviction API uses this field when
       * the feature gate PDBUnhealthyPodEvictionPolicy is enabled (enabled by default).
       * +optional
       * </pre>
       *
       * <code>optional string unhealthyPodEvictionPolicy = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearUnhealthyPodEvictionPolicy() {
        unhealthyPodEvictionPolicy_ = getDefaultInstance().getUnhealthyPodEvictionPolicy();
        bitField0_ = (bitField0_ & ~0x00000008);
        onChanged();
        return this;
      }
      /**
       * <pre>
       * UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods
       * should be considered for eviction. Current implementation considers healthy pods,
       * as pods that have status.conditions item with type="Ready",status="True".
       *
       * Valid policies are IfHealthyBudget and AlwaysAllow.
       * If no policy is specified, the default behavior will be used,
       * which corresponds to the IfHealthyBudget policy.
       *
       * IfHealthyBudget policy means that running pods (status.phase="Running"),
       * but not yet healthy can be evicted only if the guarded application is not
       * disrupted (status.currentHealthy is at least equal to status.desiredHealthy).
       * Healthy pods will be subject to the PDB for eviction.
       *
       * AlwaysAllow policy means that all running pods (status.phase="Running"),
       * but not yet healthy are considered disrupted and can be evicted regardless
       * of whether the criteria in a PDB is met. This means perspective running
       * pods of a disrupted application might not get a chance to become healthy.
       * Healthy pods will be subject to the PDB for eviction.
       *
       * Additional policies may be added in the future.
       * Clients making eviction decisions should disallow eviction of unhealthy pods
       * if they encounter an unrecognized policy in this field.
       *
       * This field is beta-level. The eviction API uses this field when
       * the feature gate PDBUnhealthyPodEvictionPolicy is enabled (enabled by default).
       * +optional
       * </pre>
       *
       * <code>optional string unhealthyPodEvictionPolicy = 4;</code>
       * @param value The bytes for unhealthyPodEvictionPolicy to set.
       * @return This builder for chaining.
       */
      public Builder setUnhealthyPodEvictionPolicyBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        unhealthyPodEvictionPolicy_ = value;
        bitField0_ |= 0x00000008;
        onChanged();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:k8s.io.api.policy.v1.PodDisruptionBudgetSpec)
    }

    // @@protoc_insertion_point(class_scope:k8s.io.api.policy.v1.PodDisruptionBudgetSpec)
    private static final io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec();
    }

    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<PodDisruptionBudgetSpec>
        PARSER = new com.google.protobuf.AbstractParser<PodDisruptionBudgetSpec>() {
      @java.lang.Override
      public PodDisruptionBudgetSpec parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        Builder builder = newBuilder();
        try {
          builder.mergeFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.setUnfinishedMessage(builder.buildPartial());
        } catch (com.google.protobuf.UninitializedMessageException e) {
          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
        } catch (java.io.IOException e) {
          throw new com.google.protobuf.InvalidProtocolBufferException(e)
              .setUnfinishedMessage(builder.buildPartial());
        }
        return builder.buildPartial();
      }
    };

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

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

    @java.lang.Override
    public io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetSpec getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface PodDisruptionBudgetStatusOrBuilder extends
      // @@protoc_insertion_point(interface_extends:k8s.io.api.policy.v1.PodDisruptionBudgetStatus)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <pre>
     * Most recent generation observed when updating this PDB status. DisruptionsAllowed and other
     * status information is valid only if observedGeneration equals to PDB's object generation.
     * +optional
     * </pre>
     *
     * <code>optional int64 observedGeneration = 1;</code>
     * @return Whether the observedGeneration field is set.
     */
    boolean hasObservedGeneration();
    /**
     * <pre>
     * Most recent generation observed when updating this PDB status. DisruptionsAllowed and other
     * status information is valid only if observedGeneration equals to PDB's object generation.
     * +optional
     * </pre>
     *
     * <code>optional int64 observedGeneration = 1;</code>
     * @return The observedGeneration.
     */
    long getObservedGeneration();

    /**
     * <pre>
     * DisruptedPods contains information about pods whose eviction was
     * processed by the API server eviction subresource handler but has not
     * yet been observed by the PodDisruptionBudget controller.
     * A pod will be in this map from the time when the API server processed the
     * eviction request to the time when the pod is seen by PDB controller
     * as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
     * and the value is the time when the API server processed the eviction request. If
     * the deletion didn't occur and a pod is still there it will be removed from
     * the list automatically by PodDisruptionBudget controller after some time.
     * If everything goes smooth this map should be empty for the most of the time.
     * Large number of entries in the map may indicate problems with pod deletions.
     * +optional
     * </pre>
     *
     * <code>map&lt;string, .k8s.io.apimachinery.pkg.apis.meta.v1.Time&gt; disruptedPods = 2;</code>
     */
    int getDisruptedPodsCount();
    /**
     * <pre>
     * DisruptedPods contains information about pods whose eviction was
     * processed by the API server eviction subresource handler but has not
     * yet been observed by the PodDisruptionBudget controller.
     * A pod will be in this map from the time when the API server processed the
     * eviction request to the time when the pod is seen by PDB controller
     * as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
     * and the value is the time when the API server processed the eviction request. If
     * the deletion didn't occur and a pod is still there it will be removed from
     * the list automatically by PodDisruptionBudget controller after some time.
     * If everything goes smooth this map should be empty for the most of the time.
     * Large number of entries in the map may indicate problems with pod deletions.
     * +optional
     * </pre>
     *
     * <code>map&lt;string, .k8s.io.apimachinery.pkg.apis.meta.v1.Time&gt; disruptedPods = 2;</code>
     */
    boolean containsDisruptedPods(
        java.lang.String key);
    /**
     * Use {@link #getDisruptedPodsMap()} instead.
     */
    @java.lang.Deprecated
    java.util.Map<java.lang.String, io.kubernetes.client.proto.Meta.Time>
    getDisruptedPods();
    /**
     * <pre>
     * DisruptedPods contains information about pods whose eviction was
     * processed by the API server eviction subresource handler but has not
     * yet been observed by the PodDisruptionBudget controller.
     * A pod will be in this map from the time when the API server processed the
     * eviction request to the time when the pod is seen by PDB controller
     * as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
     * and the value is the time when the API server processed the eviction request. If
     * the deletion didn't occur and a pod is still there it will be removed from
     * the list automatically by PodDisruptionBudget controller after some time.
     * If everything goes smooth this map should be empty for the most of the time.
     * Large number of entries in the map may indicate problems with pod deletions.
     * +optional
     * </pre>
     *
     * <code>map&lt;string, .k8s.io.apimachinery.pkg.apis.meta.v1.Time&gt; disruptedPods = 2;</code>
     */
    java.util.Map<java.lang.String, io.kubernetes.client.proto.Meta.Time>
    getDisruptedPodsMap();
    /**
     * <pre>
     * DisruptedPods contains information about pods whose eviction was
     * processed by the API server eviction subresource handler but has not
     * yet been observed by the PodDisruptionBudget controller.
     * A pod will be in this map from the time when the API server processed the
     * eviction request to the time when the pod is seen by PDB controller
     * as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
     * and the value is the time when the API server processed the eviction request. If
     * the deletion didn't occur and a pod is still there it will be removed from
     * the list automatically by PodDisruptionBudget controller after some time.
     * If everything goes smooth this map should be empty for the most of the time.
     * Large number of entries in the map may indicate problems with pod deletions.
     * +optional
     * </pre>
     *
     * <code>map&lt;string, .k8s.io.apimachinery.pkg.apis.meta.v1.Time&gt; disruptedPods = 2;</code>
     */
    /* nullable */
io.kubernetes.client.proto.Meta.Time getDisruptedPodsOrDefault(
        java.lang.String key,
        /* nullable */
io.kubernetes.client.proto.Meta.Time defaultValue);
    /**
     * <pre>
     * DisruptedPods contains information about pods whose eviction was
     * processed by the API server eviction subresource handler but has not
     * yet been observed by the PodDisruptionBudget controller.
     * A pod will be in this map from the time when the API server processed the
     * eviction request to the time when the pod is seen by PDB controller
     * as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
     * and the value is the time when the API server processed the eviction request. If
     * the deletion didn't occur and a pod is still there it will be removed from
     * the list automatically by PodDisruptionBudget controller after some time.
     * If everything goes smooth this map should be empty for the most of the time.
     * Large number of entries in the map may indicate problems with pod deletions.
     * +optional
     * </pre>
     *
     * <code>map&lt;string, .k8s.io.apimachinery.pkg.apis.meta.v1.Time&gt; disruptedPods = 2;</code>
     */
    io.kubernetes.client.proto.Meta.Time getDisruptedPodsOrThrow(
        java.lang.String key);

    /**
     * <pre>
     * Number of pod disruptions that are currently allowed.
     * </pre>
     *
     * <code>optional int32 disruptionsAllowed = 3;</code>
     * @return Whether the disruptionsAllowed field is set.
     */
    boolean hasDisruptionsAllowed();
    /**
     * <pre>
     * Number of pod disruptions that are currently allowed.
     * </pre>
     *
     * <code>optional int32 disruptionsAllowed = 3;</code>
     * @return The disruptionsAllowed.
     */
    int getDisruptionsAllowed();

    /**
     * <pre>
     * current number of healthy pods
     * </pre>
     *
     * <code>optional int32 currentHealthy = 4;</code>
     * @return Whether the currentHealthy field is set.
     */
    boolean hasCurrentHealthy();
    /**
     * <pre>
     * current number of healthy pods
     * </pre>
     *
     * <code>optional int32 currentHealthy = 4;</code>
     * @return The currentHealthy.
     */
    int getCurrentHealthy();

    /**
     * <pre>
     * minimum desired number of healthy pods
     * </pre>
     *
     * <code>optional int32 desiredHealthy = 5;</code>
     * @return Whether the desiredHealthy field is set.
     */
    boolean hasDesiredHealthy();
    /**
     * <pre>
     * minimum desired number of healthy pods
     * </pre>
     *
     * <code>optional int32 desiredHealthy = 5;</code>
     * @return The desiredHealthy.
     */
    int getDesiredHealthy();

    /**
     * <pre>
     * total number of pods counted by this disruption budget
     * </pre>
     *
     * <code>optional int32 expectedPods = 6;</code>
     * @return Whether the expectedPods field is set.
     */
    boolean hasExpectedPods();
    /**
     * <pre>
     * total number of pods counted by this disruption budget
     * </pre>
     *
     * <code>optional int32 expectedPods = 6;</code>
     * @return The expectedPods.
     */
    int getExpectedPods();

    /**
     * <pre>
     * Conditions contain conditions for PDB. The disruption controller sets the
     * DisruptionAllowed condition. The following are known values for the reason field
     * (additional reasons could be added in the future):
     * - SyncFailed: The controller encountered an error and wasn't able to compute
     * the number of allowed disruptions. Therefore no disruptions are
     * allowed and the status of the condition will be False.
     * - InsufficientPods: The number of pods are either at or below the number
     * required by the PodDisruptionBudget. No disruptions are
     * allowed and the status of the condition will be False.
     * - SufficientPods: There are more pods than required by the PodDisruptionBudget.
     * The condition will be True, and the number of allowed
     * disruptions are provided by the disruptionsAllowed property.
     *
     * +optional
     * +patchMergeKey=type
     * +patchStrategy=merge
     * +listType=map
     * +listMapKey=type
     * </pre>
     *
     * <code>repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;</code>
     */
    java.util.List<io.kubernetes.client.proto.Meta.Condition> 
        getConditionsList();
    /**
     * <pre>
     * Conditions contain conditions for PDB. The disruption controller sets the
     * DisruptionAllowed condition. The following are known values for the reason field
     * (additional reasons could be added in the future):
     * - SyncFailed: The controller encountered an error and wasn't able to compute
     * the number of allowed disruptions. Therefore no disruptions are
     * allowed and the status of the condition will be False.
     * - InsufficientPods: The number of pods are either at or below the number
     * required by the PodDisruptionBudget. No disruptions are
     * allowed and the status of the condition will be False.
     * - SufficientPods: There are more pods than required by the PodDisruptionBudget.
     * The condition will be True, and the number of allowed
     * disruptions are provided by the disruptionsAllowed property.
     *
     * +optional
     * +patchMergeKey=type
     * +patchStrategy=merge
     * +listType=map
     * +listMapKey=type
     * </pre>
     *
     * <code>repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;</code>
     */
    io.kubernetes.client.proto.Meta.Condition getConditions(int index);
    /**
     * <pre>
     * Conditions contain conditions for PDB. The disruption controller sets the
     * DisruptionAllowed condition. The following are known values for the reason field
     * (additional reasons could be added in the future):
     * - SyncFailed: The controller encountered an error and wasn't able to compute
     * the number of allowed disruptions. Therefore no disruptions are
     * allowed and the status of the condition will be False.
     * - InsufficientPods: The number of pods are either at or below the number
     * required by the PodDisruptionBudget. No disruptions are
     * allowed and the status of the condition will be False.
     * - SufficientPods: There are more pods than required by the PodDisruptionBudget.
     * The condition will be True, and the number of allowed
     * disruptions are provided by the disruptionsAllowed property.
     *
     * +optional
     * +patchMergeKey=type
     * +patchStrategy=merge
     * +listType=map
     * +listMapKey=type
     * </pre>
     *
     * <code>repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;</code>
     */
    int getConditionsCount();
    /**
     * <pre>
     * Conditions contain conditions for PDB. The disruption controller sets the
     * DisruptionAllowed condition. The following are known values for the reason field
     * (additional reasons could be added in the future):
     * - SyncFailed: The controller encountered an error and wasn't able to compute
     * the number of allowed disruptions. Therefore no disruptions are
     * allowed and the status of the condition will be False.
     * - InsufficientPods: The number of pods are either at or below the number
     * required by the PodDisruptionBudget. No disruptions are
     * allowed and the status of the condition will be False.
     * - SufficientPods: There are more pods than required by the PodDisruptionBudget.
     * The condition will be True, and the number of allowed
     * disruptions are provided by the disruptionsAllowed property.
     *
     * +optional
     * +patchMergeKey=type
     * +patchStrategy=merge
     * +listType=map
     * +listMapKey=type
     * </pre>
     *
     * <code>repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;</code>
     */
    java.util.List<? extends io.kubernetes.client.proto.Meta.ConditionOrBuilder> 
        getConditionsOrBuilderList();
    /**
     * <pre>
     * Conditions contain conditions for PDB. The disruption controller sets the
     * DisruptionAllowed condition. The following are known values for the reason field
     * (additional reasons could be added in the future):
     * - SyncFailed: The controller encountered an error and wasn't able to compute
     * the number of allowed disruptions. Therefore no disruptions are
     * allowed and the status of the condition will be False.
     * - InsufficientPods: The number of pods are either at or below the number
     * required by the PodDisruptionBudget. No disruptions are
     * allowed and the status of the condition will be False.
     * - SufficientPods: There are more pods than required by the PodDisruptionBudget.
     * The condition will be True, and the number of allowed
     * disruptions are provided by the disruptionsAllowed property.
     *
     * +optional
     * +patchMergeKey=type
     * +patchStrategy=merge
     * +listType=map
     * +listMapKey=type
     * </pre>
     *
     * <code>repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;</code>
     */
    io.kubernetes.client.proto.Meta.ConditionOrBuilder getConditionsOrBuilder(
        int index);
  }
  /**
   * <pre>
   * PodDisruptionBudgetStatus represents information about the status of a
   * PodDisruptionBudget. Status may trail the actual state of a system.
   * </pre>
   *
   * Protobuf type {@code k8s.io.api.policy.v1.PodDisruptionBudgetStatus}
   */
  public static final class PodDisruptionBudgetStatus extends
      com.google.protobuf.GeneratedMessage implements
      // @@protoc_insertion_point(message_implements:k8s.io.api.policy.v1.PodDisruptionBudgetStatus)
      PodDisruptionBudgetStatusOrBuilder {
  private static final long serialVersionUID = 0L;
    static {
      com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
        com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
        /* major= */ 4,
        /* minor= */ 26,
        /* patch= */ 1,
        /* suffix= */ "",
        PodDisruptionBudgetStatus.class.getName());
    }
    // Use PodDisruptionBudgetStatus.newBuilder() to construct.
    private PodDisruptionBudgetStatus(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
      super(builder);
    }
    private PodDisruptionBudgetStatus() {
      conditions_ = java.util.Collections.emptyList();
    }

    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.kubernetes.client.proto.V1Policy.internal_static_k8s_io_api_policy_v1_PodDisruptionBudgetStatus_descriptor;
    }

    @SuppressWarnings({"rawtypes"})
    @java.lang.Override
    protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
        int number) {
      switch (number) {
        case 2:
          return internalGetDisruptedPods();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    @java.lang.Override
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.kubernetes.client.proto.V1Policy.internal_static_k8s_io_api_policy_v1_PodDisruptionBudgetStatus_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus.class, io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus.Builder.class);
    }

    private int bitField0_;
    public static final int OBSERVEDGENERATION_FIELD_NUMBER = 1;
    private long observedGeneration_ = 0L;
    /**
     * <pre>
     * Most recent generation observed when updating this PDB status. DisruptionsAllowed and other
     * status information is valid only if observedGeneration equals to PDB's object generation.
     * +optional
     * </pre>
     *
     * <code>optional int64 observedGeneration = 1;</code>
     * @return Whether the observedGeneration field is set.
     */
    @java.lang.Override
    public boolean hasObservedGeneration() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <pre>
     * Most recent generation observed when updating this PDB status. DisruptionsAllowed and other
     * status information is valid only if observedGeneration equals to PDB's object generation.
     * +optional
     * </pre>
     *
     * <code>optional int64 observedGeneration = 1;</code>
     * @return The observedGeneration.
     */
    @java.lang.Override
    public long getObservedGeneration() {
      return observedGeneration_;
    }

    public static final int DISRUPTEDPODS_FIELD_NUMBER = 2;
    private static final class DisruptedPodsDefaultEntryHolder {
      static final com.google.protobuf.MapEntry<
          java.lang.String, io.kubernetes.client.proto.Meta.Time> defaultEntry =
              com.google.protobuf.MapEntry
              .<java.lang.String, io.kubernetes.client.proto.Meta.Time>newDefaultInstance(
                  io.kubernetes.client.proto.V1Policy.internal_static_k8s_io_api_policy_v1_PodDisruptionBudgetStatus_DisruptedPodsEntry_descriptor, 
                  com.google.protobuf.WireFormat.FieldType.STRING,
                  "",
                  com.google.protobuf.WireFormat.FieldType.MESSAGE,
                  io.kubernetes.client.proto.Meta.Time.getDefaultInstance());
    }
    @SuppressWarnings("serial")
    private com.google.protobuf.MapField<
        java.lang.String, io.kubernetes.client.proto.Meta.Time> disruptedPods_;
    private com.google.protobuf.MapField<java.lang.String, io.kubernetes.client.proto.Meta.Time>
    internalGetDisruptedPods() {
      if (disruptedPods_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            DisruptedPodsDefaultEntryHolder.defaultEntry);
      }
      return disruptedPods_;
    }
    public int getDisruptedPodsCount() {
      return internalGetDisruptedPods().getMap().size();
    }
    /**
     * <pre>
     * DisruptedPods contains information about pods whose eviction was
     * processed by the API server eviction subresource handler but has not
     * yet been observed by the PodDisruptionBudget controller.
     * A pod will be in this map from the time when the API server processed the
     * eviction request to the time when the pod is seen by PDB controller
     * as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
     * and the value is the time when the API server processed the eviction request. If
     * the deletion didn't occur and a pod is still there it will be removed from
     * the list automatically by PodDisruptionBudget controller after some time.
     * If everything goes smooth this map should be empty for the most of the time.
     * Large number of entries in the map may indicate problems with pod deletions.
     * +optional
     * </pre>
     *
     * <code>map&lt;string, .k8s.io.apimachinery.pkg.apis.meta.v1.Time&gt; disruptedPods = 2;</code>
     */
    @java.lang.Override
    public boolean containsDisruptedPods(
        java.lang.String key) {
      if (key == null) { throw new NullPointerException("map key"); }
      return internalGetDisruptedPods().getMap().containsKey(key);
    }
    /**
     * Use {@link #getDisruptedPodsMap()} instead.
     */
    @java.lang.Override
    @java.lang.Deprecated
    public java.util.Map<java.lang.String, io.kubernetes.client.proto.Meta.Time> getDisruptedPods() {
      return getDisruptedPodsMap();
    }
    /**
     * <pre>
     * DisruptedPods contains information about pods whose eviction was
     * processed by the API server eviction subresource handler but has not
     * yet been observed by the PodDisruptionBudget controller.
     * A pod will be in this map from the time when the API server processed the
     * eviction request to the time when the pod is seen by PDB controller
     * as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
     * and the value is the time when the API server processed the eviction request. If
     * the deletion didn't occur and a pod is still there it will be removed from
     * the list automatically by PodDisruptionBudget controller after some time.
     * If everything goes smooth this map should be empty for the most of the time.
     * Large number of entries in the map may indicate problems with pod deletions.
     * +optional
     * </pre>
     *
     * <code>map&lt;string, .k8s.io.apimachinery.pkg.apis.meta.v1.Time&gt; disruptedPods = 2;</code>
     */
    @java.lang.Override
    public java.util.Map<java.lang.String, io.kubernetes.client.proto.Meta.Time> getDisruptedPodsMap() {
      return internalGetDisruptedPods().getMap();
    }
    /**
     * <pre>
     * DisruptedPods contains information about pods whose eviction was
     * processed by the API server eviction subresource handler but has not
     * yet been observed by the PodDisruptionBudget controller.
     * A pod will be in this map from the time when the API server processed the
     * eviction request to the time when the pod is seen by PDB controller
     * as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
     * and the value is the time when the API server processed the eviction request. If
     * the deletion didn't occur and a pod is still there it will be removed from
     * the list automatically by PodDisruptionBudget controller after some time.
     * If everything goes smooth this map should be empty for the most of the time.
     * Large number of entries in the map may indicate problems with pod deletions.
     * +optional
     * </pre>
     *
     * <code>map&lt;string, .k8s.io.apimachinery.pkg.apis.meta.v1.Time&gt; disruptedPods = 2;</code>
     */
    @java.lang.Override
    public /* nullable */
io.kubernetes.client.proto.Meta.Time getDisruptedPodsOrDefault(
        java.lang.String key,
        /* nullable */
io.kubernetes.client.proto.Meta.Time defaultValue) {
      if (key == null) { throw new NullPointerException("map key"); }
      java.util.Map<java.lang.String, io.kubernetes.client.proto.Meta.Time> map =
          internalGetDisruptedPods().getMap();
      return map.containsKey(key) ? map.get(key) : defaultValue;
    }
    /**
     * <pre>
     * DisruptedPods contains information about pods whose eviction was
     * processed by the API server eviction subresource handler but has not
     * yet been observed by the PodDisruptionBudget controller.
     * A pod will be in this map from the time when the API server processed the
     * eviction request to the time when the pod is seen by PDB controller
     * as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
     * and the value is the time when the API server processed the eviction request. If
     * the deletion didn't occur and a pod is still there it will be removed from
     * the list automatically by PodDisruptionBudget controller after some time.
     * If everything goes smooth this map should be empty for the most of the time.
     * Large number of entries in the map may indicate problems with pod deletions.
     * +optional
     * </pre>
     *
     * <code>map&lt;string, .k8s.io.apimachinery.pkg.apis.meta.v1.Time&gt; disruptedPods = 2;</code>
     */
    @java.lang.Override
    public io.kubernetes.client.proto.Meta.Time getDisruptedPodsOrThrow(
        java.lang.String key) {
      if (key == null) { throw new NullPointerException("map key"); }
      java.util.Map<java.lang.String, io.kubernetes.client.proto.Meta.Time> map =
          internalGetDisruptedPods().getMap();
      if (!map.containsKey(key)) {
        throw new java.lang.IllegalArgumentException();
      }
      return map.get(key);
    }

    public static final int DISRUPTIONSALLOWED_FIELD_NUMBER = 3;
    private int disruptionsAllowed_ = 0;
    /**
     * <pre>
     * Number of pod disruptions that are currently allowed.
     * </pre>
     *
     * <code>optional int32 disruptionsAllowed = 3;</code>
     * @return Whether the disruptionsAllowed field is set.
     */
    @java.lang.Override
    public boolean hasDisruptionsAllowed() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * <pre>
     * Number of pod disruptions that are currently allowed.
     * </pre>
     *
     * <code>optional int32 disruptionsAllowed = 3;</code>
     * @return The disruptionsAllowed.
     */
    @java.lang.Override
    public int getDisruptionsAllowed() {
      return disruptionsAllowed_;
    }

    public static final int CURRENTHEALTHY_FIELD_NUMBER = 4;
    private int currentHealthy_ = 0;
    /**
     * <pre>
     * current number of healthy pods
     * </pre>
     *
     * <code>optional int32 currentHealthy = 4;</code>
     * @return Whether the currentHealthy field is set.
     */
    @java.lang.Override
    public boolean hasCurrentHealthy() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * <pre>
     * current number of healthy pods
     * </pre>
     *
     * <code>optional int32 currentHealthy = 4;</code>
     * @return The currentHealthy.
     */
    @java.lang.Override
    public int getCurrentHealthy() {
      return currentHealthy_;
    }

    public static final int DESIREDHEALTHY_FIELD_NUMBER = 5;
    private int desiredHealthy_ = 0;
    /**
     * <pre>
     * minimum desired number of healthy pods
     * </pre>
     *
     * <code>optional int32 desiredHealthy = 5;</code>
     * @return Whether the desiredHealthy field is set.
     */
    @java.lang.Override
    public boolean hasDesiredHealthy() {
      return ((bitField0_ & 0x00000008) != 0);
    }
    /**
     * <pre>
     * minimum desired number of healthy pods
     * </pre>
     *
     * <code>optional int32 desiredHealthy = 5;</code>
     * @return The desiredHealthy.
     */
    @java.lang.Override
    public int getDesiredHealthy() {
      return desiredHealthy_;
    }

    public static final int EXPECTEDPODS_FIELD_NUMBER = 6;
    private int expectedPods_ = 0;
    /**
     * <pre>
     * total number of pods counted by this disruption budget
     * </pre>
     *
     * <code>optional int32 expectedPods = 6;</code>
     * @return Whether the expectedPods field is set.
     */
    @java.lang.Override
    public boolean hasExpectedPods() {
      return ((bitField0_ & 0x00000010) != 0);
    }
    /**
     * <pre>
     * total number of pods counted by this disruption budget
     * </pre>
     *
     * <code>optional int32 expectedPods = 6;</code>
     * @return The expectedPods.
     */
    @java.lang.Override
    public int getExpectedPods() {
      return expectedPods_;
    }

    public static final int CONDITIONS_FIELD_NUMBER = 7;
    @SuppressWarnings("serial")
    private java.util.List<io.kubernetes.client.proto.Meta.Condition> conditions_;
    /**
     * <pre>
     * Conditions contain conditions for PDB. The disruption controller sets the
     * DisruptionAllowed condition. The following are known values for the reason field
     * (additional reasons could be added in the future):
     * - SyncFailed: The controller encountered an error and wasn't able to compute
     * the number of allowed disruptions. Therefore no disruptions are
     * allowed and the status of the condition will be False.
     * - InsufficientPods: The number of pods are either at or below the number
     * required by the PodDisruptionBudget. No disruptions are
     * allowed and the status of the condition will be False.
     * - SufficientPods: There are more pods than required by the PodDisruptionBudget.
     * The condition will be True, and the number of allowed
     * disruptions are provided by the disruptionsAllowed property.
     *
     * +optional
     * +patchMergeKey=type
     * +patchStrategy=merge
     * +listType=map
     * +listMapKey=type
     * </pre>
     *
     * <code>repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;</code>
     */
    @java.lang.Override
    public java.util.List<io.kubernetes.client.proto.Meta.Condition> getConditionsList() {
      return conditions_;
    }
    /**
     * <pre>
     * Conditions contain conditions for PDB. The disruption controller sets the
     * DisruptionAllowed condition. The following are known values for the reason field
     * (additional reasons could be added in the future):
     * - SyncFailed: The controller encountered an error and wasn't able to compute
     * the number of allowed disruptions. Therefore no disruptions are
     * allowed and the status of the condition will be False.
     * - InsufficientPods: The number of pods are either at or below the number
     * required by the PodDisruptionBudget. No disruptions are
     * allowed and the status of the condition will be False.
     * - SufficientPods: There are more pods than required by the PodDisruptionBudget.
     * The condition will be True, and the number of allowed
     * disruptions are provided by the disruptionsAllowed property.
     *
     * +optional
     * +patchMergeKey=type
     * +patchStrategy=merge
     * +listType=map
     * +listMapKey=type
     * </pre>
     *
     * <code>repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;</code>
     */
    @java.lang.Override
    public java.util.List<? extends io.kubernetes.client.proto.Meta.ConditionOrBuilder> 
        getConditionsOrBuilderList() {
      return conditions_;
    }
    /**
     * <pre>
     * Conditions contain conditions for PDB. The disruption controller sets the
     * DisruptionAllowed condition. The following are known values for the reason field
     * (additional reasons could be added in the future):
     * - SyncFailed: The controller encountered an error and wasn't able to compute
     * the number of allowed disruptions. Therefore no disruptions are
     * allowed and the status of the condition will be False.
     * - InsufficientPods: The number of pods are either at or below the number
     * required by the PodDisruptionBudget. No disruptions are
     * allowed and the status of the condition will be False.
     * - SufficientPods: There are more pods than required by the PodDisruptionBudget.
     * The condition will be True, and the number of allowed
     * disruptions are provided by the disruptionsAllowed property.
     *
     * +optional
     * +patchMergeKey=type
     * +patchStrategy=merge
     * +listType=map
     * +listMapKey=type
     * </pre>
     *
     * <code>repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;</code>
     */
    @java.lang.Override
    public int getConditionsCount() {
      return conditions_.size();
    }
    /**
     * <pre>
     * Conditions contain conditions for PDB. The disruption controller sets the
     * DisruptionAllowed condition. The following are known values for the reason field
     * (additional reasons could be added in the future):
     * - SyncFailed: The controller encountered an error and wasn't able to compute
     * the number of allowed disruptions. Therefore no disruptions are
     * allowed and the status of the condition will be False.
     * - InsufficientPods: The number of pods are either at or below the number
     * required by the PodDisruptionBudget. No disruptions are
     * allowed and the status of the condition will be False.
     * - SufficientPods: There are more pods than required by the PodDisruptionBudget.
     * The condition will be True, and the number of allowed
     * disruptions are provided by the disruptionsAllowed property.
     *
     * +optional
     * +patchMergeKey=type
     * +patchStrategy=merge
     * +listType=map
     * +listMapKey=type
     * </pre>
     *
     * <code>repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;</code>
     */
    @java.lang.Override
    public io.kubernetes.client.proto.Meta.Condition getConditions(int index) {
      return conditions_.get(index);
    }
    /**
     * <pre>
     * Conditions contain conditions for PDB. The disruption controller sets the
     * DisruptionAllowed condition. The following are known values for the reason field
     * (additional reasons could be added in the future):
     * - SyncFailed: The controller encountered an error and wasn't able to compute
     * the number of allowed disruptions. Therefore no disruptions are
     * allowed and the status of the condition will be False.
     * - InsufficientPods: The number of pods are either at or below the number
     * required by the PodDisruptionBudget. No disruptions are
     * allowed and the status of the condition will be False.
     * - SufficientPods: There are more pods than required by the PodDisruptionBudget.
     * The condition will be True, and the number of allowed
     * disruptions are provided by the disruptionsAllowed property.
     *
     * +optional
     * +patchMergeKey=type
     * +patchStrategy=merge
     * +listType=map
     * +listMapKey=type
     * </pre>
     *
     * <code>repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;</code>
     */
    @java.lang.Override
    public io.kubernetes.client.proto.Meta.ConditionOrBuilder getConditionsOrBuilder(
        int index) {
      return conditions_.get(index);
    }

    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 (((bitField0_ & 0x00000001) != 0)) {
        output.writeInt64(1, observedGeneration_);
      }
      com.google.protobuf.GeneratedMessage
        .serializeStringMapTo(
          output,
          internalGetDisruptedPods(),
          DisruptedPodsDefaultEntryHolder.defaultEntry,
          2);
      if (((bitField0_ & 0x00000002) != 0)) {
        output.writeInt32(3, disruptionsAllowed_);
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        output.writeInt32(4, currentHealthy_);
      }
      if (((bitField0_ & 0x00000008) != 0)) {
        output.writeInt32(5, desiredHealthy_);
      }
      if (((bitField0_ & 0x00000010) != 0)) {
        output.writeInt32(6, expectedPods_);
      }
      for (int i = 0; i < conditions_.size(); i++) {
        output.writeMessage(7, conditions_.get(i));
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      if (((bitField0_ & 0x00000001) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(1, observedGeneration_);
      }
      for (java.util.Map.Entry<java.lang.String, io.kubernetes.client.proto.Meta.Time> entry
           : internalGetDisruptedPods().getMap().entrySet()) {
        com.google.protobuf.MapEntry<java.lang.String, io.kubernetes.client.proto.Meta.Time>
        disruptedPods__ = DisruptedPodsDefaultEntryHolder.defaultEntry.newBuilderForType()
            .setKey(entry.getKey())
            .setValue(entry.getValue())
            .build();
        size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(2, disruptedPods__);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(3, disruptionsAllowed_);
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(4, currentHealthy_);
      }
      if (((bitField0_ & 0x00000008) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(5, desiredHealthy_);
      }
      if (((bitField0_ & 0x00000010) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(6, expectedPods_);
      }
      for (int i = 0; i < conditions_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(7, conditions_.get(i));
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus)) {
        return super.equals(obj);
      }
      io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus other = (io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus) obj;

      if (hasObservedGeneration() != other.hasObservedGeneration()) return false;
      if (hasObservedGeneration()) {
        if (getObservedGeneration()
            != other.getObservedGeneration()) return false;
      }
      if (!internalGetDisruptedPods().equals(
          other.internalGetDisruptedPods())) return false;
      if (hasDisruptionsAllowed() != other.hasDisruptionsAllowed()) return false;
      if (hasDisruptionsAllowed()) {
        if (getDisruptionsAllowed()
            != other.getDisruptionsAllowed()) return false;
      }
      if (hasCurrentHealthy() != other.hasCurrentHealthy()) return false;
      if (hasCurrentHealthy()) {
        if (getCurrentHealthy()
            != other.getCurrentHealthy()) return false;
      }
      if (hasDesiredHealthy() != other.hasDesiredHealthy()) return false;
      if (hasDesiredHealthy()) {
        if (getDesiredHealthy()
            != other.getDesiredHealthy()) return false;
      }
      if (hasExpectedPods() != other.hasExpectedPods()) return false;
      if (hasExpectedPods()) {
        if (getExpectedPods()
            != other.getExpectedPods()) return false;
      }
      if (!getConditionsList()
          .equals(other.getConditionsList())) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasObservedGeneration()) {
        hash = (37 * hash) + OBSERVEDGENERATION_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getObservedGeneration());
      }
      if (!internalGetDisruptedPods().getMap().isEmpty()) {
        hash = (37 * hash) + DISRUPTEDPODS_FIELD_NUMBER;
        hash = (53 * hash) + internalGetDisruptedPods().hashCode();
      }
      if (hasDisruptionsAllowed()) {
        hash = (37 * hash) + DISRUPTIONSALLOWED_FIELD_NUMBER;
        hash = (53 * hash) + getDisruptionsAllowed();
      }
      if (hasCurrentHealthy()) {
        hash = (37 * hash) + CURRENTHEALTHY_FIELD_NUMBER;
        hash = (53 * hash) + getCurrentHealthy();
      }
      if (hasDesiredHealthy()) {
        hash = (37 * hash) + DESIREDHEALTHY_FIELD_NUMBER;
        hash = (53 * hash) + getDesiredHealthy();
      }
      if (hasExpectedPods()) {
        hash = (37 * hash) + EXPECTEDPODS_FIELD_NUMBER;
        hash = (53 * hash) + getExpectedPods();
      }
      if (getConditionsCount() > 0) {
        hash = (37 * hash) + CONDITIONS_FIELD_NUMBER;
        hash = (53 * hash) + getConditionsList().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseWithIOException(PARSER, input);
    }
    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseDelimitedWithIOException(PARSER, input);
    }

    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseWithIOException(PARSER, input);
    }
    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus 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.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * <pre>
     * PodDisruptionBudgetStatus represents information about the status of a
     * PodDisruptionBudget. Status may trail the actual state of a system.
     * </pre>
     *
     * Protobuf type {@code k8s.io.api.policy.v1.PodDisruptionBudgetStatus}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:k8s.io.api.policy.v1.PodDisruptionBudgetStatus)
        io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatusOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.kubernetes.client.proto.V1Policy.internal_static_k8s_io_api_policy_v1_PodDisruptionBudgetStatus_descriptor;
      }

      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
          int number) {
        switch (number) {
          case 2:
            return internalGetDisruptedPods();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
          int number) {
        switch (number) {
          case 2:
            return internalGetMutableDisruptedPods();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @java.lang.Override
      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return io.kubernetes.client.proto.V1Policy.internal_static_k8s_io_api_policy_v1_PodDisruptionBudgetStatus_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus.class, io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus.Builder.class);
      }

      // Construct using io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus.newBuilder()
      private Builder() {

      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);

      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        observedGeneration_ = 0L;
        internalGetMutableDisruptedPods().clear();
        disruptionsAllowed_ = 0;
        currentHealthy_ = 0;
        desiredHealthy_ = 0;
        expectedPods_ = 0;
        if (conditionsBuilder_ == null) {
          conditions_ = java.util.Collections.emptyList();
        } else {
          conditions_ = null;
          conditionsBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000040);
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return io.kubernetes.client.proto.V1Policy.internal_static_k8s_io_api_policy_v1_PodDisruptionBudgetStatus_descriptor;
      }

      @java.lang.Override
      public io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus getDefaultInstanceForType() {
        return io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus.getDefaultInstance();
      }

      @java.lang.Override
      public io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus build() {
        io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus buildPartial() {
        io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus result = new io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus(this);
        buildPartialRepeatedFields(result);
        if (bitField0_ != 0) { buildPartial0(result); }
        onBuilt();
        return result;
      }

      private void buildPartialRepeatedFields(io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus result) {
        if (conditionsBuilder_ == null) {
          if (((bitField0_ & 0x00000040) != 0)) {
            conditions_ = java.util.Collections.unmodifiableList(conditions_);
            bitField0_ = (bitField0_ & ~0x00000040);
          }
          result.conditions_ = conditions_;
        } else {
          result.conditions_ = conditionsBuilder_.build();
        }
      }

      private void buildPartial0(io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus result) {
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.observedGeneration_ = observedGeneration_;
          to_bitField0_ |= 0x00000001;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.disruptedPods_ = internalGetDisruptedPods().build(DisruptedPodsDefaultEntryHolder.defaultEntry);
        }
        if (((from_bitField0_ & 0x00000004) != 0)) {
          result.disruptionsAllowed_ = disruptionsAllowed_;
          to_bitField0_ |= 0x00000002;
        }
        if (((from_bitField0_ & 0x00000008) != 0)) {
          result.currentHealthy_ = currentHealthy_;
          to_bitField0_ |= 0x00000004;
        }
        if (((from_bitField0_ & 0x00000010) != 0)) {
          result.desiredHealthy_ = desiredHealthy_;
          to_bitField0_ |= 0x00000008;
        }
        if (((from_bitField0_ & 0x00000020) != 0)) {
          result.expectedPods_ = expectedPods_;
          to_bitField0_ |= 0x00000010;
        }
        result.bitField0_ |= to_bitField0_;
      }

      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus) {
          return mergeFrom((io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus other) {
        if (other == io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus.getDefaultInstance()) return this;
        if (other.hasObservedGeneration()) {
          setObservedGeneration(other.getObservedGeneration());
        }
        internalGetMutableDisruptedPods().mergeFrom(
            other.internalGetDisruptedPods());
        bitField0_ |= 0x00000002;
        if (other.hasDisruptionsAllowed()) {
          setDisruptionsAllowed(other.getDisruptionsAllowed());
        }
        if (other.hasCurrentHealthy()) {
          setCurrentHealthy(other.getCurrentHealthy());
        }
        if (other.hasDesiredHealthy()) {
          setDesiredHealthy(other.getDesiredHealthy());
        }
        if (other.hasExpectedPods()) {
          setExpectedPods(other.getExpectedPods());
        }
        if (conditionsBuilder_ == null) {
          if (!other.conditions_.isEmpty()) {
            if (conditions_.isEmpty()) {
              conditions_ = other.conditions_;
              bitField0_ = (bitField0_ & ~0x00000040);
            } else {
              ensureConditionsIsMutable();
              conditions_.addAll(other.conditions_);
            }
            onChanged();
          }
        } else {
          if (!other.conditions_.isEmpty()) {
            if (conditionsBuilder_.isEmpty()) {
              conditionsBuilder_.dispose();
              conditionsBuilder_ = null;
              conditions_ = other.conditions_;
              bitField0_ = (bitField0_ & ~0x00000040);
              conditionsBuilder_ = 
                com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
                   getConditionsFieldBuilder() : null;
            } else {
              conditionsBuilder_.addAllMessages(other.conditions_);
            }
          }
        }
        this.mergeUnknownFields(other.getUnknownFields());
        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 {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 8: {
                observedGeneration_ = input.readInt64();
                bitField0_ |= 0x00000001;
                break;
              } // case 8
              case 18: {
                com.google.protobuf.MapEntry<java.lang.String, io.kubernetes.client.proto.Meta.Time>
                disruptedPods__ = input.readMessage(
                    DisruptedPodsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
                internalGetMutableDisruptedPods().ensureBuilderMap().put(
                    disruptedPods__.getKey(), disruptedPods__.getValue());
                bitField0_ |= 0x00000002;
                break;
              } // case 18
              case 24: {
                disruptionsAllowed_ = input.readInt32();
                bitField0_ |= 0x00000004;
                break;
              } // case 24
              case 32: {
                currentHealthy_ = input.readInt32();
                bitField0_ |= 0x00000008;
                break;
              } // case 32
              case 40: {
                desiredHealthy_ = input.readInt32();
                bitField0_ |= 0x00000010;
                break;
              } // case 40
              case 48: {
                expectedPods_ = input.readInt32();
                bitField0_ |= 0x00000020;
                break;
              } // case 48
              case 58: {
                io.kubernetes.client.proto.Meta.Condition m =
                    input.readMessage(
                        io.kubernetes.client.proto.Meta.Condition.parser(),
                        extensionRegistry);
                if (conditionsBuilder_ == null) {
                  ensureConditionsIsMutable();
                  conditions_.add(m);
                } else {
                  conditionsBuilder_.addMessage(m);
                }
                break;
              } // case 58
              default: {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }
      private int bitField0_;

      private long observedGeneration_ ;
      /**
       * <pre>
       * Most recent generation observed when updating this PDB status. DisruptionsAllowed and other
       * status information is valid only if observedGeneration equals to PDB's object generation.
       * +optional
       * </pre>
       *
       * <code>optional int64 observedGeneration = 1;</code>
       * @return Whether the observedGeneration field is set.
       */
      @java.lang.Override
      public boolean hasObservedGeneration() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * <pre>
       * Most recent generation observed when updating this PDB status. DisruptionsAllowed and other
       * status information is valid only if observedGeneration equals to PDB's object generation.
       * +optional
       * </pre>
       *
       * <code>optional int64 observedGeneration = 1;</code>
       * @return The observedGeneration.
       */
      @java.lang.Override
      public long getObservedGeneration() {
        return observedGeneration_;
      }
      /**
       * <pre>
       * Most recent generation observed when updating this PDB status. DisruptionsAllowed and other
       * status information is valid only if observedGeneration equals to PDB's object generation.
       * +optional
       * </pre>
       *
       * <code>optional int64 observedGeneration = 1;</code>
       * @param value The observedGeneration to set.
       * @return This builder for chaining.
       */
      public Builder setObservedGeneration(long value) {

        observedGeneration_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Most recent generation observed when updating this PDB status. DisruptionsAllowed and other
       * status information is valid only if observedGeneration equals to PDB's object generation.
       * +optional
       * </pre>
       *
       * <code>optional int64 observedGeneration = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearObservedGeneration() {
        bitField0_ = (bitField0_ & ~0x00000001);
        observedGeneration_ = 0L;
        onChanged();
        return this;
      }

      private static final class DisruptedPodsConverter implements com.google.protobuf.MapFieldBuilder.Converter<java.lang.String, io.kubernetes.client.proto.Meta.TimeOrBuilder, io.kubernetes.client.proto.Meta.Time> {
        @java.lang.Override
        public io.kubernetes.client.proto.Meta.Time build(io.kubernetes.client.proto.Meta.TimeOrBuilder val) {
          if (val instanceof io.kubernetes.client.proto.Meta.Time) { return (io.kubernetes.client.proto.Meta.Time) val; }
          return ((io.kubernetes.client.proto.Meta.Time.Builder) val).build();
        }

        @java.lang.Override
        public com.google.protobuf.MapEntry<java.lang.String, io.kubernetes.client.proto.Meta.Time> defaultEntry() {
          return DisruptedPodsDefaultEntryHolder.defaultEntry;
        }
      };
      private static final DisruptedPodsConverter disruptedPodsConverter = new DisruptedPodsConverter();

      private com.google.protobuf.MapFieldBuilder<
          java.lang.String, io.kubernetes.client.proto.Meta.TimeOrBuilder, io.kubernetes.client.proto.Meta.Time, io.kubernetes.client.proto.Meta.Time.Builder> disruptedPods_;
      private com.google.protobuf.MapFieldBuilder<java.lang.String, io.kubernetes.client.proto.Meta.TimeOrBuilder, io.kubernetes.client.proto.Meta.Time, io.kubernetes.client.proto.Meta.Time.Builder>
          internalGetDisruptedPods() {
        if (disruptedPods_ == null) {
          return new com.google.protobuf.MapFieldBuilder<>(disruptedPodsConverter);
        }
        return disruptedPods_;
      }
      private com.google.protobuf.MapFieldBuilder<java.lang.String, io.kubernetes.client.proto.Meta.TimeOrBuilder, io.kubernetes.client.proto.Meta.Time, io.kubernetes.client.proto.Meta.Time.Builder>
          internalGetMutableDisruptedPods() {
        if (disruptedPods_ == null) {
          disruptedPods_ = new com.google.protobuf.MapFieldBuilder<>(disruptedPodsConverter);
        }
        bitField0_ |= 0x00000002;
        onChanged();
        return disruptedPods_;
      }
      public int getDisruptedPodsCount() {
        return internalGetDisruptedPods().ensureBuilderMap().size();
      }
      /**
       * <pre>
       * DisruptedPods contains information about pods whose eviction was
       * processed by the API server eviction subresource handler but has not
       * yet been observed by the PodDisruptionBudget controller.
       * A pod will be in this map from the time when the API server processed the
       * eviction request to the time when the pod is seen by PDB controller
       * as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
       * and the value is the time when the API server processed the eviction request. If
       * the deletion didn't occur and a pod is still there it will be removed from
       * the list automatically by PodDisruptionBudget controller after some time.
       * If everything goes smooth this map should be empty for the most of the time.
       * Large number of entries in the map may indicate problems with pod deletions.
       * +optional
       * </pre>
       *
       * <code>map&lt;string, .k8s.io.apimachinery.pkg.apis.meta.v1.Time&gt; disruptedPods = 2;</code>
       */
      @java.lang.Override
      public boolean containsDisruptedPods(
          java.lang.String key) {
        if (key == null) { throw new NullPointerException("map key"); }
        return internalGetDisruptedPods().ensureBuilderMap().containsKey(key);
      }
      /**
       * Use {@link #getDisruptedPodsMap()} instead.
       */
      @java.lang.Override
      @java.lang.Deprecated
      public java.util.Map<java.lang.String, io.kubernetes.client.proto.Meta.Time> getDisruptedPods() {
        return getDisruptedPodsMap();
      }
      /**
       * <pre>
       * DisruptedPods contains information about pods whose eviction was
       * processed by the API server eviction subresource handler but has not
       * yet been observed by the PodDisruptionBudget controller.
       * A pod will be in this map from the time when the API server processed the
       * eviction request to the time when the pod is seen by PDB controller
       * as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
       * and the value is the time when the API server processed the eviction request. If
       * the deletion didn't occur and a pod is still there it will be removed from
       * the list automatically by PodDisruptionBudget controller after some time.
       * If everything goes smooth this map should be empty for the most of the time.
       * Large number of entries in the map may indicate problems with pod deletions.
       * +optional
       * </pre>
       *
       * <code>map&lt;string, .k8s.io.apimachinery.pkg.apis.meta.v1.Time&gt; disruptedPods = 2;</code>
       */
      @java.lang.Override
      public java.util.Map<java.lang.String, io.kubernetes.client.proto.Meta.Time> getDisruptedPodsMap() {
        return internalGetDisruptedPods().getImmutableMap();
      }
      /**
       * <pre>
       * DisruptedPods contains information about pods whose eviction was
       * processed by the API server eviction subresource handler but has not
       * yet been observed by the PodDisruptionBudget controller.
       * A pod will be in this map from the time when the API server processed the
       * eviction request to the time when the pod is seen by PDB controller
       * as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
       * and the value is the time when the API server processed the eviction request. If
       * the deletion didn't occur and a pod is still there it will be removed from
       * the list automatically by PodDisruptionBudget controller after some time.
       * If everything goes smooth this map should be empty for the most of the time.
       * Large number of entries in the map may indicate problems with pod deletions.
       * +optional
       * </pre>
       *
       * <code>map&lt;string, .k8s.io.apimachinery.pkg.apis.meta.v1.Time&gt; disruptedPods = 2;</code>
       */
      @java.lang.Override
      public /* nullable */
io.kubernetes.client.proto.Meta.Time getDisruptedPodsOrDefault(
          java.lang.String key,
          /* nullable */
io.kubernetes.client.proto.Meta.Time defaultValue) {
        if (key == null) { throw new NullPointerException("map key"); }
        java.util.Map<java.lang.String, io.kubernetes.client.proto.Meta.TimeOrBuilder> map = internalGetMutableDisruptedPods().ensureBuilderMap();
        return map.containsKey(key) ? disruptedPodsConverter.build(map.get(key)) : defaultValue;
      }
      /**
       * <pre>
       * DisruptedPods contains information about pods whose eviction was
       * processed by the API server eviction subresource handler but has not
       * yet been observed by the PodDisruptionBudget controller.
       * A pod will be in this map from the time when the API server processed the
       * eviction request to the time when the pod is seen by PDB controller
       * as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
       * and the value is the time when the API server processed the eviction request. If
       * the deletion didn't occur and a pod is still there it will be removed from
       * the list automatically by PodDisruptionBudget controller after some time.
       * If everything goes smooth this map should be empty for the most of the time.
       * Large number of entries in the map may indicate problems with pod deletions.
       * +optional
       * </pre>
       *
       * <code>map&lt;string, .k8s.io.apimachinery.pkg.apis.meta.v1.Time&gt; disruptedPods = 2;</code>
       */
      @java.lang.Override
      public io.kubernetes.client.proto.Meta.Time getDisruptedPodsOrThrow(
          java.lang.String key) {
        if (key == null) { throw new NullPointerException("map key"); }
        java.util.Map<java.lang.String, io.kubernetes.client.proto.Meta.TimeOrBuilder> map = internalGetMutableDisruptedPods().ensureBuilderMap();
        if (!map.containsKey(key)) {
          throw new java.lang.IllegalArgumentException();
        }
        return disruptedPodsConverter.build(map.get(key));
      }
      public Builder clearDisruptedPods() {
        bitField0_ = (bitField0_ & ~0x00000002);
        internalGetMutableDisruptedPods().clear();
        return this;
      }
      /**
       * <pre>
       * DisruptedPods contains information about pods whose eviction was
       * processed by the API server eviction subresource handler but has not
       * yet been observed by the PodDisruptionBudget controller.
       * A pod will be in this map from the time when the API server processed the
       * eviction request to the time when the pod is seen by PDB controller
       * as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
       * and the value is the time when the API server processed the eviction request. If
       * the deletion didn't occur and a pod is still there it will be removed from
       * the list automatically by PodDisruptionBudget controller after some time.
       * If everything goes smooth this map should be empty for the most of the time.
       * Large number of entries in the map may indicate problems with pod deletions.
       * +optional
       * </pre>
       *
       * <code>map&lt;string, .k8s.io.apimachinery.pkg.apis.meta.v1.Time&gt; disruptedPods = 2;</code>
       */
      public Builder removeDisruptedPods(
          java.lang.String key) {
        if (key == null) { throw new NullPointerException("map key"); }
        internalGetMutableDisruptedPods().ensureBuilderMap()
            .remove(key);
        return this;
      }
      /**
       * Use alternate mutation accessors instead.
       */
      @java.lang.Deprecated
      public java.util.Map<java.lang.String, io.kubernetes.client.proto.Meta.Time>
          getMutableDisruptedPods() {
        bitField0_ |= 0x00000002;
        return internalGetMutableDisruptedPods().ensureMessageMap();
      }
      /**
       * <pre>
       * DisruptedPods contains information about pods whose eviction was
       * processed by the API server eviction subresource handler but has not
       * yet been observed by the PodDisruptionBudget controller.
       * A pod will be in this map from the time when the API server processed the
       * eviction request to the time when the pod is seen by PDB controller
       * as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
       * and the value is the time when the API server processed the eviction request. If
       * the deletion didn't occur and a pod is still there it will be removed from
       * the list automatically by PodDisruptionBudget controller after some time.
       * If everything goes smooth this map should be empty for the most of the time.
       * Large number of entries in the map may indicate problems with pod deletions.
       * +optional
       * </pre>
       *
       * <code>map&lt;string, .k8s.io.apimachinery.pkg.apis.meta.v1.Time&gt; disruptedPods = 2;</code>
       */
      public Builder putDisruptedPods(
          java.lang.String key,
          io.kubernetes.client.proto.Meta.Time value) {
        if (key == null) { throw new NullPointerException("map key"); }
        if (value == null) { throw new NullPointerException("map value"); }
        internalGetMutableDisruptedPods().ensureBuilderMap()
            .put(key, value);
        bitField0_ |= 0x00000002;
        return this;
      }
      /**
       * <pre>
       * DisruptedPods contains information about pods whose eviction was
       * processed by the API server eviction subresource handler but has not
       * yet been observed by the PodDisruptionBudget controller.
       * A pod will be in this map from the time when the API server processed the
       * eviction request to the time when the pod is seen by PDB controller
       * as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
       * and the value is the time when the API server processed the eviction request. If
       * the deletion didn't occur and a pod is still there it will be removed from
       * the list automatically by PodDisruptionBudget controller after some time.
       * If everything goes smooth this map should be empty for the most of the time.
       * Large number of entries in the map may indicate problems with pod deletions.
       * +optional
       * </pre>
       *
       * <code>map&lt;string, .k8s.io.apimachinery.pkg.apis.meta.v1.Time&gt; disruptedPods = 2;</code>
       */
      public Builder putAllDisruptedPods(
          java.util.Map<java.lang.String, io.kubernetes.client.proto.Meta.Time> values) {
        for (java.util.Map.Entry<java.lang.String, io.kubernetes.client.proto.Meta.Time> e : values.entrySet()) {
          if (e.getKey() == null || e.getValue() == null) {
            throw new NullPointerException();
          }
        }
        internalGetMutableDisruptedPods().ensureBuilderMap()
            .putAll(values);
        bitField0_ |= 0x00000002;
        return this;
      }
      /**
       * <pre>
       * DisruptedPods contains information about pods whose eviction was
       * processed by the API server eviction subresource handler but has not
       * yet been observed by the PodDisruptionBudget controller.
       * A pod will be in this map from the time when the API server processed the
       * eviction request to the time when the pod is seen by PDB controller
       * as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
       * and the value is the time when the API server processed the eviction request. If
       * the deletion didn't occur and a pod is still there it will be removed from
       * the list automatically by PodDisruptionBudget controller after some time.
       * If everything goes smooth this map should be empty for the most of the time.
       * Large number of entries in the map may indicate problems with pod deletions.
       * +optional
       * </pre>
       *
       * <code>map&lt;string, .k8s.io.apimachinery.pkg.apis.meta.v1.Time&gt; disruptedPods = 2;</code>
       */
      public io.kubernetes.client.proto.Meta.Time.Builder putDisruptedPodsBuilderIfAbsent(
          java.lang.String key) {
        java.util.Map<java.lang.String, io.kubernetes.client.proto.Meta.TimeOrBuilder> builderMap = internalGetMutableDisruptedPods().ensureBuilderMap();
        io.kubernetes.client.proto.Meta.TimeOrBuilder entry = builderMap.get(key);
        if (entry == null) {
          entry = io.kubernetes.client.proto.Meta.Time.newBuilder();
          builderMap.put(key, entry);
        }
        if (entry instanceof io.kubernetes.client.proto.Meta.Time) {
          entry = ((io.kubernetes.client.proto.Meta.Time) entry).toBuilder();
          builderMap.put(key, entry);
        }
        return (io.kubernetes.client.proto.Meta.Time.Builder) entry;
      }

      private int disruptionsAllowed_ ;
      /**
       * <pre>
       * Number of pod disruptions that are currently allowed.
       * </pre>
       *
       * <code>optional int32 disruptionsAllowed = 3;</code>
       * @return Whether the disruptionsAllowed field is set.
       */
      @java.lang.Override
      public boolean hasDisruptionsAllowed() {
        return ((bitField0_ & 0x00000004) != 0);
      }
      /**
       * <pre>
       * Number of pod disruptions that are currently allowed.
       * </pre>
       *
       * <code>optional int32 disruptionsAllowed = 3;</code>
       * @return The disruptionsAllowed.
       */
      @java.lang.Override
      public int getDisruptionsAllowed() {
        return disruptionsAllowed_;
      }
      /**
       * <pre>
       * Number of pod disruptions that are currently allowed.
       * </pre>
       *
       * <code>optional int32 disruptionsAllowed = 3;</code>
       * @param value The disruptionsAllowed to set.
       * @return This builder for chaining.
       */
      public Builder setDisruptionsAllowed(int value) {

        disruptionsAllowed_ = value;
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Number of pod disruptions that are currently allowed.
       * </pre>
       *
       * <code>optional int32 disruptionsAllowed = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearDisruptionsAllowed() {
        bitField0_ = (bitField0_ & ~0x00000004);
        disruptionsAllowed_ = 0;
        onChanged();
        return this;
      }

      private int currentHealthy_ ;
      /**
       * <pre>
       * current number of healthy pods
       * </pre>
       *
       * <code>optional int32 currentHealthy = 4;</code>
       * @return Whether the currentHealthy field is set.
       */
      @java.lang.Override
      public boolean hasCurrentHealthy() {
        return ((bitField0_ & 0x00000008) != 0);
      }
      /**
       * <pre>
       * current number of healthy pods
       * </pre>
       *
       * <code>optional int32 currentHealthy = 4;</code>
       * @return The currentHealthy.
       */
      @java.lang.Override
      public int getCurrentHealthy() {
        return currentHealthy_;
      }
      /**
       * <pre>
       * current number of healthy pods
       * </pre>
       *
       * <code>optional int32 currentHealthy = 4;</code>
       * @param value The currentHealthy to set.
       * @return This builder for chaining.
       */
      public Builder setCurrentHealthy(int value) {

        currentHealthy_ = value;
        bitField0_ |= 0x00000008;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * current number of healthy pods
       * </pre>
       *
       * <code>optional int32 currentHealthy = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearCurrentHealthy() {
        bitField0_ = (bitField0_ & ~0x00000008);
        currentHealthy_ = 0;
        onChanged();
        return this;
      }

      private int desiredHealthy_ ;
      /**
       * <pre>
       * minimum desired number of healthy pods
       * </pre>
       *
       * <code>optional int32 desiredHealthy = 5;</code>
       * @return Whether the desiredHealthy field is set.
       */
      @java.lang.Override
      public boolean hasDesiredHealthy() {
        return ((bitField0_ & 0x00000010) != 0);
      }
      /**
       * <pre>
       * minimum desired number of healthy pods
       * </pre>
       *
       * <code>optional int32 desiredHealthy = 5;</code>
       * @return The desiredHealthy.
       */
      @java.lang.Override
      public int getDesiredHealthy() {
        return desiredHealthy_;
      }
      /**
       * <pre>
       * minimum desired number of healthy pods
       * </pre>
       *
       * <code>optional int32 desiredHealthy = 5;</code>
       * @param value The desiredHealthy to set.
       * @return This builder for chaining.
       */
      public Builder setDesiredHealthy(int value) {

        desiredHealthy_ = value;
        bitField0_ |= 0x00000010;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * minimum desired number of healthy pods
       * </pre>
       *
       * <code>optional int32 desiredHealthy = 5;</code>
       * @return This builder for chaining.
       */
      public Builder clearDesiredHealthy() {
        bitField0_ = (bitField0_ & ~0x00000010);
        desiredHealthy_ = 0;
        onChanged();
        return this;
      }

      private int expectedPods_ ;
      /**
       * <pre>
       * total number of pods counted by this disruption budget
       * </pre>
       *
       * <code>optional int32 expectedPods = 6;</code>
       * @return Whether the expectedPods field is set.
       */
      @java.lang.Override
      public boolean hasExpectedPods() {
        return ((bitField0_ & 0x00000020) != 0);
      }
      /**
       * <pre>
       * total number of pods counted by this disruption budget
       * </pre>
       *
       * <code>optional int32 expectedPods = 6;</code>
       * @return The expectedPods.
       */
      @java.lang.Override
      public int getExpectedPods() {
        return expectedPods_;
      }
      /**
       * <pre>
       * total number of pods counted by this disruption budget
       * </pre>
       *
       * <code>optional int32 expectedPods = 6;</code>
       * @param value The expectedPods to set.
       * @return This builder for chaining.
       */
      public Builder setExpectedPods(int value) {

        expectedPods_ = value;
        bitField0_ |= 0x00000020;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * total number of pods counted by this disruption budget
       * </pre>
       *
       * <code>optional int32 expectedPods = 6;</code>
       * @return This builder for chaining.
       */
      public Builder clearExpectedPods() {
        bitField0_ = (bitField0_ & ~0x00000020);
        expectedPods_ = 0;
        onChanged();
        return this;
      }

      private java.util.List<io.kubernetes.client.proto.Meta.Condition> conditions_ =
        java.util.Collections.emptyList();
      private void ensureConditionsIsMutable() {
        if (!((bitField0_ & 0x00000040) != 0)) {
          conditions_ = new java.util.ArrayList<io.kubernetes.client.proto.Meta.Condition>(conditions_);
          bitField0_ |= 0x00000040;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilder<
          io.kubernetes.client.proto.Meta.Condition, io.kubernetes.client.proto.Meta.Condition.Builder, io.kubernetes.client.proto.Meta.ConditionOrBuilder> conditionsBuilder_;

      /**
       * <pre>
       * Conditions contain conditions for PDB. The disruption controller sets the
       * DisruptionAllowed condition. The following are known values for the reason field
       * (additional reasons could be added in the future):
       * - SyncFailed: The controller encountered an error and wasn't able to compute
       * the number of allowed disruptions. Therefore no disruptions are
       * allowed and the status of the condition will be False.
       * - InsufficientPods: The number of pods are either at or below the number
       * required by the PodDisruptionBudget. No disruptions are
       * allowed and the status of the condition will be False.
       * - SufficientPods: There are more pods than required by the PodDisruptionBudget.
       * The condition will be True, and the number of allowed
       * disruptions are provided by the disruptionsAllowed property.
       *
       * +optional
       * +patchMergeKey=type
       * +patchStrategy=merge
       * +listType=map
       * +listMapKey=type
       * </pre>
       *
       * <code>repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;</code>
       */
      public java.util.List<io.kubernetes.client.proto.Meta.Condition> getConditionsList() {
        if (conditionsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(conditions_);
        } else {
          return conditionsBuilder_.getMessageList();
        }
      }
      /**
       * <pre>
       * Conditions contain conditions for PDB. The disruption controller sets the
       * DisruptionAllowed condition. The following are known values for the reason field
       * (additional reasons could be added in the future):
       * - SyncFailed: The controller encountered an error and wasn't able to compute
       * the number of allowed disruptions. Therefore no disruptions are
       * allowed and the status of the condition will be False.
       * - InsufficientPods: The number of pods are either at or below the number
       * required by the PodDisruptionBudget. No disruptions are
       * allowed and the status of the condition will be False.
       * - SufficientPods: There are more pods than required by the PodDisruptionBudget.
       * The condition will be True, and the number of allowed
       * disruptions are provided by the disruptionsAllowed property.
       *
       * +optional
       * +patchMergeKey=type
       * +patchStrategy=merge
       * +listType=map
       * +listMapKey=type
       * </pre>
       *
       * <code>repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;</code>
       */
      public int getConditionsCount() {
        if (conditionsBuilder_ == null) {
          return conditions_.size();
        } else {
          return conditionsBuilder_.getCount();
        }
      }
      /**
       * <pre>
       * Conditions contain conditions for PDB. The disruption controller sets the
       * DisruptionAllowed condition. The following are known values for the reason field
       * (additional reasons could be added in the future):
       * - SyncFailed: The controller encountered an error and wasn't able to compute
       * the number of allowed disruptions. Therefore no disruptions are
       * allowed and the status of the condition will be False.
       * - InsufficientPods: The number of pods are either at or below the number
       * required by the PodDisruptionBudget. No disruptions are
       * allowed and the status of the condition will be False.
       * - SufficientPods: There are more pods than required by the PodDisruptionBudget.
       * The condition will be True, and the number of allowed
       * disruptions are provided by the disruptionsAllowed property.
       *
       * +optional
       * +patchMergeKey=type
       * +patchStrategy=merge
       * +listType=map
       * +listMapKey=type
       * </pre>
       *
       * <code>repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;</code>
       */
      public io.kubernetes.client.proto.Meta.Condition getConditions(int index) {
        if (conditionsBuilder_ == null) {
          return conditions_.get(index);
        } else {
          return conditionsBuilder_.getMessage(index);
        }
      }
      /**
       * <pre>
       * Conditions contain conditions for PDB. The disruption controller sets the
       * DisruptionAllowed condition. The following are known values for the reason field
       * (additional reasons could be added in the future):
       * - SyncFailed: The controller encountered an error and wasn't able to compute
       * the number of allowed disruptions. Therefore no disruptions are
       * allowed and the status of the condition will be False.
       * - InsufficientPods: The number of pods are either at or below the number
       * required by the PodDisruptionBudget. No disruptions are
       * allowed and the status of the condition will be False.
       * - SufficientPods: There are more pods than required by the PodDisruptionBudget.
       * The condition will be True, and the number of allowed
       * disruptions are provided by the disruptionsAllowed property.
       *
       * +optional
       * +patchMergeKey=type
       * +patchStrategy=merge
       * +listType=map
       * +listMapKey=type
       * </pre>
       *
       * <code>repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;</code>
       */
      public Builder setConditions(
          int index, io.kubernetes.client.proto.Meta.Condition value) {
        if (conditionsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureConditionsIsMutable();
          conditions_.set(index, value);
          onChanged();
        } else {
          conditionsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <pre>
       * Conditions contain conditions for PDB. The disruption controller sets the
       * DisruptionAllowed condition. The following are known values for the reason field
       * (additional reasons could be added in the future):
       * - SyncFailed: The controller encountered an error and wasn't able to compute
       * the number of allowed disruptions. Therefore no disruptions are
       * allowed and the status of the condition will be False.
       * - InsufficientPods: The number of pods are either at or below the number
       * required by the PodDisruptionBudget. No disruptions are
       * allowed and the status of the condition will be False.
       * - SufficientPods: There are more pods than required by the PodDisruptionBudget.
       * The condition will be True, and the number of allowed
       * disruptions are provided by the disruptionsAllowed property.
       *
       * +optional
       * +patchMergeKey=type
       * +patchStrategy=merge
       * +listType=map
       * +listMapKey=type
       * </pre>
       *
       * <code>repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;</code>
       */
      public Builder setConditions(
          int index, io.kubernetes.client.proto.Meta.Condition.Builder builderForValue) {
        if (conditionsBuilder_ == null) {
          ensureConditionsIsMutable();
          conditions_.set(index, builderForValue.build());
          onChanged();
        } else {
          conditionsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       * Conditions contain conditions for PDB. The disruption controller sets the
       * DisruptionAllowed condition. The following are known values for the reason field
       * (additional reasons could be added in the future):
       * - SyncFailed: The controller encountered an error and wasn't able to compute
       * the number of allowed disruptions. Therefore no disruptions are
       * allowed and the status of the condition will be False.
       * - InsufficientPods: The number of pods are either at or below the number
       * required by the PodDisruptionBudget. No disruptions are
       * allowed and the status of the condition will be False.
       * - SufficientPods: There are more pods than required by the PodDisruptionBudget.
       * The condition will be True, and the number of allowed
       * disruptions are provided by the disruptionsAllowed property.
       *
       * +optional
       * +patchMergeKey=type
       * +patchStrategy=merge
       * +listType=map
       * +listMapKey=type
       * </pre>
       *
       * <code>repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;</code>
       */
      public Builder addConditions(io.kubernetes.client.proto.Meta.Condition value) {
        if (conditionsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureConditionsIsMutable();
          conditions_.add(value);
          onChanged();
        } else {
          conditionsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <pre>
       * Conditions contain conditions for PDB. The disruption controller sets the
       * DisruptionAllowed condition. The following are known values for the reason field
       * (additional reasons could be added in the future):
       * - SyncFailed: The controller encountered an error and wasn't able to compute
       * the number of allowed disruptions. Therefore no disruptions are
       * allowed and the status of the condition will be False.
       * - InsufficientPods: The number of pods are either at or below the number
       * required by the PodDisruptionBudget. No disruptions are
       * allowed and the status of the condition will be False.
       * - SufficientPods: There are more pods than required by the PodDisruptionBudget.
       * The condition will be True, and the number of allowed
       * disruptions are provided by the disruptionsAllowed property.
       *
       * +optional
       * +patchMergeKey=type
       * +patchStrategy=merge
       * +listType=map
       * +listMapKey=type
       * </pre>
       *
       * <code>repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;</code>
       */
      public Builder addConditions(
          int index, io.kubernetes.client.proto.Meta.Condition value) {
        if (conditionsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureConditionsIsMutable();
          conditions_.add(index, value);
          onChanged();
        } else {
          conditionsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <pre>
       * Conditions contain conditions for PDB. The disruption controller sets the
       * DisruptionAllowed condition. The following are known values for the reason field
       * (additional reasons could be added in the future):
       * - SyncFailed: The controller encountered an error and wasn't able to compute
       * the number of allowed disruptions. Therefore no disruptions are
       * allowed and the status of the condition will be False.
       * - InsufficientPods: The number of pods are either at or below the number
       * required by the PodDisruptionBudget. No disruptions are
       * allowed and the status of the condition will be False.
       * - SufficientPods: There are more pods than required by the PodDisruptionBudget.
       * The condition will be True, and the number of allowed
       * disruptions are provided by the disruptionsAllowed property.
       *
       * +optional
       * +patchMergeKey=type
       * +patchStrategy=merge
       * +listType=map
       * +listMapKey=type
       * </pre>
       *
       * <code>repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;</code>
       */
      public Builder addConditions(
          io.kubernetes.client.proto.Meta.Condition.Builder builderForValue) {
        if (conditionsBuilder_ == null) {
          ensureConditionsIsMutable();
          conditions_.add(builderForValue.build());
          onChanged();
        } else {
          conditionsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       * Conditions contain conditions for PDB. The disruption controller sets the
       * DisruptionAllowed condition. The following are known values for the reason field
       * (additional reasons could be added in the future):
       * - SyncFailed: The controller encountered an error and wasn't able to compute
       * the number of allowed disruptions. Therefore no disruptions are
       * allowed and the status of the condition will be False.
       * - InsufficientPods: The number of pods are either at or below the number
       * required by the PodDisruptionBudget. No disruptions are
       * allowed and the status of the condition will be False.
       * - SufficientPods: There are more pods than required by the PodDisruptionBudget.
       * The condition will be True, and the number of allowed
       * disruptions are provided by the disruptionsAllowed property.
       *
       * +optional
       * +patchMergeKey=type
       * +patchStrategy=merge
       * +listType=map
       * +listMapKey=type
       * </pre>
       *
       * <code>repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;</code>
       */
      public Builder addConditions(
          int index, io.kubernetes.client.proto.Meta.Condition.Builder builderForValue) {
        if (conditionsBuilder_ == null) {
          ensureConditionsIsMutable();
          conditions_.add(index, builderForValue.build());
          onChanged();
        } else {
          conditionsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       * Conditions contain conditions for PDB. The disruption controller sets the
       * DisruptionAllowed condition. The following are known values for the reason field
       * (additional reasons could be added in the future):
       * - SyncFailed: The controller encountered an error and wasn't able to compute
       * the number of allowed disruptions. Therefore no disruptions are
       * allowed and the status of the condition will be False.
       * - InsufficientPods: The number of pods are either at or below the number
       * required by the PodDisruptionBudget. No disruptions are
       * allowed and the status of the condition will be False.
       * - SufficientPods: There are more pods than required by the PodDisruptionBudget.
       * The condition will be True, and the number of allowed
       * disruptions are provided by the disruptionsAllowed property.
       *
       * +optional
       * +patchMergeKey=type
       * +patchStrategy=merge
       * +listType=map
       * +listMapKey=type
       * </pre>
       *
       * <code>repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;</code>
       */
      public Builder addAllConditions(
          java.lang.Iterable<? extends io.kubernetes.client.proto.Meta.Condition> values) {
        if (conditionsBuilder_ == null) {
          ensureConditionsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, conditions_);
          onChanged();
        } else {
          conditionsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <pre>
       * Conditions contain conditions for PDB. The disruption controller sets the
       * DisruptionAllowed condition. The following are known values for the reason field
       * (additional reasons could be added in the future):
       * - SyncFailed: The controller encountered an error and wasn't able to compute
       * the number of allowed disruptions. Therefore no disruptions are
       * allowed and the status of the condition will be False.
       * - InsufficientPods: The number of pods are either at or below the number
       * required by the PodDisruptionBudget. No disruptions are
       * allowed and the status of the condition will be False.
       * - SufficientPods: There are more pods than required by the PodDisruptionBudget.
       * The condition will be True, and the number of allowed
       * disruptions are provided by the disruptionsAllowed property.
       *
       * +optional
       * +patchMergeKey=type
       * +patchStrategy=merge
       * +listType=map
       * +listMapKey=type
       * </pre>
       *
       * <code>repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;</code>
       */
      public Builder clearConditions() {
        if (conditionsBuilder_ == null) {
          conditions_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000040);
          onChanged();
        } else {
          conditionsBuilder_.clear();
        }
        return this;
      }
      /**
       * <pre>
       * Conditions contain conditions for PDB. The disruption controller sets the
       * DisruptionAllowed condition. The following are known values for the reason field
       * (additional reasons could be added in the future):
       * - SyncFailed: The controller encountered an error and wasn't able to compute
       * the number of allowed disruptions. Therefore no disruptions are
       * allowed and the status of the condition will be False.
       * - InsufficientPods: The number of pods are either at or below the number
       * required by the PodDisruptionBudget. No disruptions are
       * allowed and the status of the condition will be False.
       * - SufficientPods: There are more pods than required by the PodDisruptionBudget.
       * The condition will be True, and the number of allowed
       * disruptions are provided by the disruptionsAllowed property.
       *
       * +optional
       * +patchMergeKey=type
       * +patchStrategy=merge
       * +listType=map
       * +listMapKey=type
       * </pre>
       *
       * <code>repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;</code>
       */
      public Builder removeConditions(int index) {
        if (conditionsBuilder_ == null) {
          ensureConditionsIsMutable();
          conditions_.remove(index);
          onChanged();
        } else {
          conditionsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <pre>
       * Conditions contain conditions for PDB. The disruption controller sets the
       * DisruptionAllowed condition. The following are known values for the reason field
       * (additional reasons could be added in the future):
       * - SyncFailed: The controller encountered an error and wasn't able to compute
       * the number of allowed disruptions. Therefore no disruptions are
       * allowed and the status of the condition will be False.
       * - InsufficientPods: The number of pods are either at or below the number
       * required by the PodDisruptionBudget. No disruptions are
       * allowed and the status of the condition will be False.
       * - SufficientPods: There are more pods than required by the PodDisruptionBudget.
       * The condition will be True, and the number of allowed
       * disruptions are provided by the disruptionsAllowed property.
       *
       * +optional
       * +patchMergeKey=type
       * +patchStrategy=merge
       * +listType=map
       * +listMapKey=type
       * </pre>
       *
       * <code>repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;</code>
       */
      public io.kubernetes.client.proto.Meta.Condition.Builder getConditionsBuilder(
          int index) {
        return getConditionsFieldBuilder().getBuilder(index);
      }
      /**
       * <pre>
       * Conditions contain conditions for PDB. The disruption controller sets the
       * DisruptionAllowed condition. The following are known values for the reason field
       * (additional reasons could be added in the future):
       * - SyncFailed: The controller encountered an error and wasn't able to compute
       * the number of allowed disruptions. Therefore no disruptions are
       * allowed and the status of the condition will be False.
       * - InsufficientPods: The number of pods are either at or below the number
       * required by the PodDisruptionBudget. No disruptions are
       * allowed and the status of the condition will be False.
       * - SufficientPods: There are more pods than required by the PodDisruptionBudget.
       * The condition will be True, and the number of allowed
       * disruptions are provided by the disruptionsAllowed property.
       *
       * +optional
       * +patchMergeKey=type
       * +patchStrategy=merge
       * +listType=map
       * +listMapKey=type
       * </pre>
       *
       * <code>repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;</code>
       */
      public io.kubernetes.client.proto.Meta.ConditionOrBuilder getConditionsOrBuilder(
          int index) {
        if (conditionsBuilder_ == null) {
          return conditions_.get(index);  } else {
          return conditionsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <pre>
       * Conditions contain conditions for PDB. The disruption controller sets the
       * DisruptionAllowed condition. The following are known values for the reason field
       * (additional reasons could be added in the future):
       * - SyncFailed: The controller encountered an error and wasn't able to compute
       * the number of allowed disruptions. Therefore no disruptions are
       * allowed and the status of the condition will be False.
       * - InsufficientPods: The number of pods are either at or below the number
       * required by the PodDisruptionBudget. No disruptions are
       * allowed and the status of the condition will be False.
       * - SufficientPods: There are more pods than required by the PodDisruptionBudget.
       * The condition will be True, and the number of allowed
       * disruptions are provided by the disruptionsAllowed property.
       *
       * +optional
       * +patchMergeKey=type
       * +patchStrategy=merge
       * +listType=map
       * +listMapKey=type
       * </pre>
       *
       * <code>repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;</code>
       */
      public java.util.List<? extends io.kubernetes.client.proto.Meta.ConditionOrBuilder> 
           getConditionsOrBuilderList() {
        if (conditionsBuilder_ != null) {
          return conditionsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(conditions_);
        }
      }
      /**
       * <pre>
       * Conditions contain conditions for PDB. The disruption controller sets the
       * DisruptionAllowed condition. The following are known values for the reason field
       * (additional reasons could be added in the future):
       * - SyncFailed: The controller encountered an error and wasn't able to compute
       * the number of allowed disruptions. Therefore no disruptions are
       * allowed and the status of the condition will be False.
       * - InsufficientPods: The number of pods are either at or below the number
       * required by the PodDisruptionBudget. No disruptions are
       * allowed and the status of the condition will be False.
       * - SufficientPods: There are more pods than required by the PodDisruptionBudget.
       * The condition will be True, and the number of allowed
       * disruptions are provided by the disruptionsAllowed property.
       *
       * +optional
       * +patchMergeKey=type
       * +patchStrategy=merge
       * +listType=map
       * +listMapKey=type
       * </pre>
       *
       * <code>repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;</code>
       */
      public io.kubernetes.client.proto.Meta.Condition.Builder addConditionsBuilder() {
        return getConditionsFieldBuilder().addBuilder(
            io.kubernetes.client.proto.Meta.Condition.getDefaultInstance());
      }
      /**
       * <pre>
       * Conditions contain conditions for PDB. The disruption controller sets the
       * DisruptionAllowed condition. The following are known values for the reason field
       * (additional reasons could be added in the future):
       * - SyncFailed: The controller encountered an error and wasn't able to compute
       * the number of allowed disruptions. Therefore no disruptions are
       * allowed and the status of the condition will be False.
       * - InsufficientPods: The number of pods are either at or below the number
       * required by the PodDisruptionBudget. No disruptions are
       * allowed and the status of the condition will be False.
       * - SufficientPods: There are more pods than required by the PodDisruptionBudget.
       * The condition will be True, and the number of allowed
       * disruptions are provided by the disruptionsAllowed property.
       *
       * +optional
       * +patchMergeKey=type
       * +patchStrategy=merge
       * +listType=map
       * +listMapKey=type
       * </pre>
       *
       * <code>repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;</code>
       */
      public io.kubernetes.client.proto.Meta.Condition.Builder addConditionsBuilder(
          int index) {
        return getConditionsFieldBuilder().addBuilder(
            index, io.kubernetes.client.proto.Meta.Condition.getDefaultInstance());
      }
      /**
       * <pre>
       * Conditions contain conditions for PDB. The disruption controller sets the
       * DisruptionAllowed condition. The following are known values for the reason field
       * (additional reasons could be added in the future):
       * - SyncFailed: The controller encountered an error and wasn't able to compute
       * the number of allowed disruptions. Therefore no disruptions are
       * allowed and the status of the condition will be False.
       * - InsufficientPods: The number of pods are either at or below the number
       * required by the PodDisruptionBudget. No disruptions are
       * allowed and the status of the condition will be False.
       * - SufficientPods: There are more pods than required by the PodDisruptionBudget.
       * The condition will be True, and the number of allowed
       * disruptions are provided by the disruptionsAllowed property.
       *
       * +optional
       * +patchMergeKey=type
       * +patchStrategy=merge
       * +listType=map
       * +listMapKey=type
       * </pre>
       *
       * <code>repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;</code>
       */
      public java.util.List<io.kubernetes.client.proto.Meta.Condition.Builder> 
           getConditionsBuilderList() {
        return getConditionsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilder<
          io.kubernetes.client.proto.Meta.Condition, io.kubernetes.client.proto.Meta.Condition.Builder, io.kubernetes.client.proto.Meta.ConditionOrBuilder> 
          getConditionsFieldBuilder() {
        if (conditionsBuilder_ == null) {
          conditionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
              io.kubernetes.client.proto.Meta.Condition, io.kubernetes.client.proto.Meta.Condition.Builder, io.kubernetes.client.proto.Meta.ConditionOrBuilder>(
                  conditions_,
                  ((bitField0_ & 0x00000040) != 0),
                  getParentForChildren(),
                  isClean());
          conditions_ = null;
        }
        return conditionsBuilder_;
      }

      // @@protoc_insertion_point(builder_scope:k8s.io.api.policy.v1.PodDisruptionBudgetStatus)
    }

    // @@protoc_insertion_point(class_scope:k8s.io.api.policy.v1.PodDisruptionBudgetStatus)
    private static final io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus();
    }

    public static io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<PodDisruptionBudgetStatus>
        PARSER = new com.google.protobuf.AbstractParser<PodDisruptionBudgetStatus>() {
      @java.lang.Override
      public PodDisruptionBudgetStatus parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        Builder builder = newBuilder();
        try {
          builder.mergeFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.setUnfinishedMessage(builder.buildPartial());
        } catch (com.google.protobuf.UninitializedMessageException e) {
          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
        } catch (java.io.IOException e) {
          throw new com.google.protobuf.InvalidProtocolBufferException(e)
              .setUnfinishedMessage(builder.buildPartial());
        }
        return builder.buildPartial();
      }
    };

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

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

    @java.lang.Override
    public io.kubernetes.client.proto.V1Policy.PodDisruptionBudgetStatus getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_k8s_io_api_policy_v1_Eviction_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_k8s_io_api_policy_v1_Eviction_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_k8s_io_api_policy_v1_PodDisruptionBudget_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_k8s_io_api_policy_v1_PodDisruptionBudget_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_k8s_io_api_policy_v1_PodDisruptionBudgetList_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_k8s_io_api_policy_v1_PodDisruptionBudgetList_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_k8s_io_api_policy_v1_PodDisruptionBudgetSpec_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_k8s_io_api_policy_v1_PodDisruptionBudgetSpec_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_k8s_io_api_policy_v1_PodDisruptionBudgetStatus_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_k8s_io_api_policy_v1_PodDisruptionBudgetStatus_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_k8s_io_api_policy_v1_PodDisruptionBudgetStatus_DisruptedPodsEntry_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_k8s_io_api_policy_v1_PodDisruptionBudgetStatus_DisruptedPodsEntry_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$k8s.io/api/policy/v1/generated.proto\022\024" +
      "k8s.io.api.policy.v1\0324k8s.io/apimachiner" +
      "y/pkg/apis/meta/v1/generated.proto\032/k8s." +
      "io/apimachinery/pkg/runtime/generated.pr" +
      "oto\0326k8s.io/apimachinery/pkg/runtime/sch" +
      "ema/generated.proto\0323k8s.io/apimachinery" +
      "/pkg/util/intstr/generated.proto\"\232\001\n\010Evi" +
      "ction\022B\n\010metadata\030\001 \001(\01320.k8s.io.apimach" +
      "inery.pkg.apis.meta.v1.ObjectMeta\022J\n\rdel" +
      "eteOptions\030\002 \001(\01323.k8s.io.apimachinery.p" +
      "kg.apis.meta.v1.DeleteOptions\"\327\001\n\023PodDis" +
      "ruptionBudget\022B\n\010metadata\030\001 \001(\01320.k8s.io" +
      ".apimachinery.pkg.apis.meta.v1.ObjectMet" +
      "a\022;\n\004spec\030\002 \001(\0132-.k8s.io.api.policy.v1.P" +
      "odDisruptionBudgetSpec\022?\n\006status\030\003 \001(\0132/" +
      ".k8s.io.api.policy.v1.PodDisruptionBudge" +
      "tStatus\"\225\001\n\027PodDisruptionBudgetList\022@\n\010m" +
      "etadata\030\001 \001(\0132..k8s.io.apimachinery.pkg." +
      "apis.meta.v1.ListMeta\0228\n\005items\030\002 \003(\0132).k" +
      "8s.io.api.policy.v1.PodDisruptionBudget\"" +
      "\226\002\n\027PodDisruptionBudgetSpec\022F\n\014minAvaila" +
      "ble\030\001 \001(\01320.k8s.io.apimachinery.pkg.util" +
      ".intstr.IntOrString\022E\n\010selector\030\002 \001(\01323." +
      "k8s.io.apimachinery.pkg.apis.meta.v1.Lab" +
      "elSelector\022H\n\016maxUnavailable\030\003 \001(\01320.k8s" +
      ".io.apimachinery.pkg.util.intstr.IntOrSt" +
      "ring\022\"\n\032unhealthyPodEvictionPolicy\030\004 \001(\t" +
      "\"\233\003\n\031PodDisruptionBudgetStatus\022\032\n\022observ" +
      "edGeneration\030\001 \001(\003\022Y\n\rdisruptedPods\030\002 \003(" +
      "\0132B.k8s.io.api.policy.v1.PodDisruptionBu" +
      "dgetStatus.DisruptedPodsEntry\022\032\n\022disrupt" +
      "ionsAllowed\030\003 \001(\005\022\026\n\016currentHealthy\030\004 \001(" +
      "\005\022\026\n\016desiredHealthy\030\005 \001(\005\022\024\n\014expectedPod" +
      "s\030\006 \001(\005\022C\n\nconditions\030\007 \003(\0132/.k8s.io.api" +
      "machinery.pkg.apis.meta.v1.Condition\032`\n\022" +
      "DisruptedPodsEntry\022\013\n\003key\030\001 \001(\t\0229\n\005value" +
      "\030\002 \001(\0132*.k8s.io.apimachinery.pkg.apis.me" +
      "ta.v1.Time:\0028\001B<\n\032io.kubernetes.client.p" +
      "rotoB\010V1PolicyZ\024k8s.io/api/policy/v1"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          io.kubernetes.client.proto.Meta.getDescriptor(),
          io.kubernetes.client.proto.Runtime.getDescriptor(),
          io.kubernetes.client.proto.RuntimeSchema.getDescriptor(),
          io.kubernetes.client.proto.IntStr.getDescriptor(),
        });
    internal_static_k8s_io_api_policy_v1_Eviction_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_k8s_io_api_policy_v1_Eviction_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_k8s_io_api_policy_v1_Eviction_descriptor,
        new java.lang.String[] { "Metadata", "DeleteOptions", });
    internal_static_k8s_io_api_policy_v1_PodDisruptionBudget_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_k8s_io_api_policy_v1_PodDisruptionBudget_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_k8s_io_api_policy_v1_PodDisruptionBudget_descriptor,
        new java.lang.String[] { "Metadata", "Spec", "Status", });
    internal_static_k8s_io_api_policy_v1_PodDisruptionBudgetList_descriptor =
      getDescriptor().getMessageTypes().get(2);
    internal_static_k8s_io_api_policy_v1_PodDisruptionBudgetList_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_k8s_io_api_policy_v1_PodDisruptionBudgetList_descriptor,
        new java.lang.String[] { "Metadata", "Items", });
    internal_static_k8s_io_api_policy_v1_PodDisruptionBudgetSpec_descriptor =
      getDescriptor().getMessageTypes().get(3);
    internal_static_k8s_io_api_policy_v1_PodDisruptionBudgetSpec_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_k8s_io_api_policy_v1_PodDisruptionBudgetSpec_descriptor,
        new java.lang.String[] { "MinAvailable", "Selector", "MaxUnavailable", "UnhealthyPodEvictionPolicy", });
    internal_static_k8s_io_api_policy_v1_PodDisruptionBudgetStatus_descriptor =
      getDescriptor().getMessageTypes().get(4);
    internal_static_k8s_io_api_policy_v1_PodDisruptionBudgetStatus_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_k8s_io_api_policy_v1_PodDisruptionBudgetStatus_descriptor,
        new java.lang.String[] { "ObservedGeneration", "DisruptedPods", "DisruptionsAllowed", "CurrentHealthy", "DesiredHealthy", "ExpectedPods", "Conditions", });
    internal_static_k8s_io_api_policy_v1_PodDisruptionBudgetStatus_DisruptedPodsEntry_descriptor =
      internal_static_k8s_io_api_policy_v1_PodDisruptionBudgetStatus_descriptor.getNestedTypes().get(0);
    internal_static_k8s_io_api_policy_v1_PodDisruptionBudgetStatus_DisruptedPodsEntry_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_k8s_io_api_policy_v1_PodDisruptionBudgetStatus_DisruptedPodsEntry_descriptor,
        new java.lang.String[] { "Key", "Value", });
    descriptor.resolveAllFeaturesImmutable();
    io.kubernetes.client.proto.Meta.getDescriptor();
    io.kubernetes.client.proto.Runtime.getDescriptor();
    io.kubernetes.client.proto.RuntimeSchema.getDescriptor();
    io.kubernetes.client.proto.IntStr.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
