// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/container/v1/cluster_service.proto

package com.google.container.v1;

/**
 * <pre>
 * MaintenanceWindow defines the maintenance window to be used for the cluster.
 * </pre>
 *
 * Protobuf type {@code google.container.v1.MaintenanceWindow}
 */
public  final class MaintenanceWindow extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:google.container.v1.MaintenanceWindow)
    MaintenanceWindowOrBuilder {
private static final long serialVersionUID = 0L;
  // Use MaintenanceWindow.newBuilder() to construct.
  private MaintenanceWindow(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private MaintenanceWindow() {
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private MaintenanceWindow(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    int mutable_bitField0_ = 0;
    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
        com.google.protobuf.UnknownFieldSet.newBuilder();
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          default: {
            if (!parseUnknownFieldProto3(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
          case 18: {
            com.google.container.v1.DailyMaintenanceWindow.Builder subBuilder = null;
            if (policyCase_ == 2) {
              subBuilder = ((com.google.container.v1.DailyMaintenanceWindow) policy_).toBuilder();
            }
            policy_ =
                input.readMessage(com.google.container.v1.DailyMaintenanceWindow.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((com.google.container.v1.DailyMaintenanceWindow) policy_);
              policy_ = subBuilder.buildPartial();
            }
            policyCase_ = 2;
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaintenanceWindow_descriptor;
  }

  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaintenanceWindow_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.google.container.v1.MaintenanceWindow.class, com.google.container.v1.MaintenanceWindow.Builder.class);
  }

  private int policyCase_ = 0;
  private java.lang.Object policy_;
  public enum PolicyCase
      implements com.google.protobuf.Internal.EnumLite {
    DAILY_MAINTENANCE_WINDOW(2),
    POLICY_NOT_SET(0);
    private final int value;
    private PolicyCase(int value) {
      this.value = value;
    }
    /**
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static PolicyCase valueOf(int value) {
      return forNumber(value);
    }

    public static PolicyCase forNumber(int value) {
      switch (value) {
        case 2: return DAILY_MAINTENANCE_WINDOW;
        case 0: return POLICY_NOT_SET;
        default: return null;
      }
    }
    public int getNumber() {
      return this.value;
    }
  };

  public PolicyCase
  getPolicyCase() {
    return PolicyCase.forNumber(
        policyCase_);
  }

  public static final int DAILY_MAINTENANCE_WINDOW_FIELD_NUMBER = 2;
  /**
   * <pre>
   * DailyMaintenanceWindow specifies a daily maintenance operation window.
   * </pre>
   *
   * <code>.google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2;</code>
   */
  public boolean hasDailyMaintenanceWindow() {
    return policyCase_ == 2;
  }
  /**
   * <pre>
   * DailyMaintenanceWindow specifies a daily maintenance operation window.
   * </pre>
   *
   * <code>.google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2;</code>
   */
  public com.google.container.v1.DailyMaintenanceWindow getDailyMaintenanceWindow() {
    if (policyCase_ == 2) {
       return (com.google.container.v1.DailyMaintenanceWindow) policy_;
    }
    return com.google.container.v1.DailyMaintenanceWindow.getDefaultInstance();
  }
  /**
   * <pre>
   * DailyMaintenanceWindow specifies a daily maintenance operation window.
   * </pre>
   *
   * <code>.google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2;</code>
   */
  public com.google.container.v1.DailyMaintenanceWindowOrBuilder getDailyMaintenanceWindowOrBuilder() {
    if (policyCase_ == 2) {
       return (com.google.container.v1.DailyMaintenanceWindow) policy_;
    }
    return com.google.container.v1.DailyMaintenanceWindow.getDefaultInstance();
  }

  private byte memoizedIsInitialized = -1;
  public final boolean isInitialized() {
    byte isInitialized = memoizedIsInitialized;
    if (isInitialized == 1) return true;
    if (isInitialized == 0) return false;

    memoizedIsInitialized = 1;
    return true;
  }

  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (policyCase_ == 2) {
      output.writeMessage(2, (com.google.container.v1.DailyMaintenanceWindow) policy_);
    }
    unknownFields.writeTo(output);
  }

  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    if (policyCase_ == 2) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(2, (com.google.container.v1.DailyMaintenanceWindow) policy_);
    }
    size += unknownFields.getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof com.google.container.v1.MaintenanceWindow)) {
      return super.equals(obj);
    }
    com.google.container.v1.MaintenanceWindow other = (com.google.container.v1.MaintenanceWindow) obj;

    boolean result = true;
    result = result && getPolicyCase().equals(
        other.getPolicyCase());
    if (!result) return false;
    switch (policyCase_) {
      case 2:
        result = result && getDailyMaintenanceWindow()
            .equals(other.getDailyMaintenanceWindow());
        break;
      case 0:
      default:
    }
    result = result && unknownFields.equals(other.unknownFields);
    return result;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    switch (policyCase_) {
      case 2:
        hash = (37 * hash) + DAILY_MAINTENANCE_WINDOW_FIELD_NUMBER;
        hash = (53 * hash) + getDailyMaintenanceWindow().hashCode();
        break;
      case 0:
      default:
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(com.google.container.v1.MaintenanceWindow prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE
        ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(
      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * <pre>
   * MaintenanceWindow defines the maintenance window to be used for the cluster.
   * </pre>
   *
   * Protobuf type {@code google.container.v1.MaintenanceWindow}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:google.container.v1.MaintenanceWindow)
      com.google.container.v1.MaintenanceWindowOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaintenanceWindow_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaintenanceWindow_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.container.v1.MaintenanceWindow.class, com.google.container.v1.MaintenanceWindow.Builder.class);
    }

    // Construct using com.google.container.v1.MaintenanceWindow.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
      }
    }
    public Builder clear() {
      super.clear();
      policyCase_ = 0;
      policy_ = null;
      return this;
    }

    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaintenanceWindow_descriptor;
    }

    public com.google.container.v1.MaintenanceWindow getDefaultInstanceForType() {
      return com.google.container.v1.MaintenanceWindow.getDefaultInstance();
    }

    public com.google.container.v1.MaintenanceWindow build() {
      com.google.container.v1.MaintenanceWindow result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    public com.google.container.v1.MaintenanceWindow buildPartial() {
      com.google.container.v1.MaintenanceWindow result = new com.google.container.v1.MaintenanceWindow(this);
      if (policyCase_ == 2) {
        if (dailyMaintenanceWindowBuilder_ == null) {
          result.policy_ = policy_;
        } else {
          result.policy_ = dailyMaintenanceWindowBuilder_.build();
        }
      }
      result.policyCase_ = policyCase_;
      onBuilt();
      return result;
    }

    public Builder clone() {
      return (Builder) super.clone();
    }
    public Builder setField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return (Builder) super.setField(field, value);
    }
    public Builder clearField(
        com.google.protobuf.Descriptors.FieldDescriptor field) {
      return (Builder) super.clearField(field);
    }
    public Builder clearOneof(
        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
      return (Builder) super.clearOneof(oneof);
    }
    public Builder setRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        int index, java.lang.Object value) {
      return (Builder) super.setRepeatedField(field, index, value);
    }
    public Builder addRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return (Builder) super.addRepeatedField(field, value);
    }
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof com.google.container.v1.MaintenanceWindow) {
        return mergeFrom((com.google.container.v1.MaintenanceWindow)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.google.container.v1.MaintenanceWindow other) {
      if (other == com.google.container.v1.MaintenanceWindow.getDefaultInstance()) return this;
      switch (other.getPolicyCase()) {
        case DAILY_MAINTENANCE_WINDOW: {
          mergeDailyMaintenanceWindow(other.getDailyMaintenanceWindow());
          break;
        }
        case POLICY_NOT_SET: {
          break;
        }
      }
      this.mergeUnknownFields(other.unknownFields);
      onChanged();
      return this;
    }

    public final boolean isInitialized() {
      return true;
    }

    public Builder mergeFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      com.google.container.v1.MaintenanceWindow parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.google.container.v1.MaintenanceWindow) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int policyCase_ = 0;
    private java.lang.Object policy_;
    public PolicyCase
        getPolicyCase() {
      return PolicyCase.forNumber(
          policyCase_);
    }

    public Builder clearPolicy() {
      policyCase_ = 0;
      policy_ = null;
      onChanged();
      return this;
    }


    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.container.v1.DailyMaintenanceWindow, com.google.container.v1.DailyMaintenanceWindow.Builder, com.google.container.v1.DailyMaintenanceWindowOrBuilder> dailyMaintenanceWindowBuilder_;
    /**
     * <pre>
     * DailyMaintenanceWindow specifies a daily maintenance operation window.
     * </pre>
     *
     * <code>.google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2;</code>
     */
    public boolean hasDailyMaintenanceWindow() {
      return policyCase_ == 2;
    }
    /**
     * <pre>
     * DailyMaintenanceWindow specifies a daily maintenance operation window.
     * </pre>
     *
     * <code>.google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2;</code>
     */
    public com.google.container.v1.DailyMaintenanceWindow getDailyMaintenanceWindow() {
      if (dailyMaintenanceWindowBuilder_ == null) {
        if (policyCase_ == 2) {
          return (com.google.container.v1.DailyMaintenanceWindow) policy_;
        }
        return com.google.container.v1.DailyMaintenanceWindow.getDefaultInstance();
      } else {
        if (policyCase_ == 2) {
          return dailyMaintenanceWindowBuilder_.getMessage();
        }
        return com.google.container.v1.DailyMaintenanceWindow.getDefaultInstance();
      }
    }
    /**
     * <pre>
     * DailyMaintenanceWindow specifies a daily maintenance operation window.
     * </pre>
     *
     * <code>.google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2;</code>
     */
    public Builder setDailyMaintenanceWindow(com.google.container.v1.DailyMaintenanceWindow value) {
      if (dailyMaintenanceWindowBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        policy_ = value;
        onChanged();
      } else {
        dailyMaintenanceWindowBuilder_.setMessage(value);
      }
      policyCase_ = 2;
      return this;
    }
    /**
     * <pre>
     * DailyMaintenanceWindow specifies a daily maintenance operation window.
     * </pre>
     *
     * <code>.google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2;</code>
     */
    public Builder setDailyMaintenanceWindow(
        com.google.container.v1.DailyMaintenanceWindow.Builder builderForValue) {
      if (dailyMaintenanceWindowBuilder_ == null) {
        policy_ = builderForValue.build();
        onChanged();
      } else {
        dailyMaintenanceWindowBuilder_.setMessage(builderForValue.build());
      }
      policyCase_ = 2;
      return this;
    }
    /**
     * <pre>
     * DailyMaintenanceWindow specifies a daily maintenance operation window.
     * </pre>
     *
     * <code>.google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2;</code>
     */
    public Builder mergeDailyMaintenanceWindow(com.google.container.v1.DailyMaintenanceWindow value) {
      if (dailyMaintenanceWindowBuilder_ == null) {
        if (policyCase_ == 2 &&
            policy_ != com.google.container.v1.DailyMaintenanceWindow.getDefaultInstance()) {
          policy_ = com.google.container.v1.DailyMaintenanceWindow.newBuilder((com.google.container.v1.DailyMaintenanceWindow) policy_)
              .mergeFrom(value).buildPartial();
        } else {
          policy_ = value;
        }
        onChanged();
      } else {
        if (policyCase_ == 2) {
          dailyMaintenanceWindowBuilder_.mergeFrom(value);
        }
        dailyMaintenanceWindowBuilder_.setMessage(value);
      }
      policyCase_ = 2;
      return this;
    }
    /**
     * <pre>
     * DailyMaintenanceWindow specifies a daily maintenance operation window.
     * </pre>
     *
     * <code>.google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2;</code>
     */
    public Builder clearDailyMaintenanceWindow() {
      if (dailyMaintenanceWindowBuilder_ == null) {
        if (policyCase_ == 2) {
          policyCase_ = 0;
          policy_ = null;
          onChanged();
        }
      } else {
        if (policyCase_ == 2) {
          policyCase_ = 0;
          policy_ = null;
        }
        dailyMaintenanceWindowBuilder_.clear();
      }
      return this;
    }
    /**
     * <pre>
     * DailyMaintenanceWindow specifies a daily maintenance operation window.
     * </pre>
     *
     * <code>.google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2;</code>
     */
    public com.google.container.v1.DailyMaintenanceWindow.Builder getDailyMaintenanceWindowBuilder() {
      return getDailyMaintenanceWindowFieldBuilder().getBuilder();
    }
    /**
     * <pre>
     * DailyMaintenanceWindow specifies a daily maintenance operation window.
     * </pre>
     *
     * <code>.google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2;</code>
     */
    public com.google.container.v1.DailyMaintenanceWindowOrBuilder getDailyMaintenanceWindowOrBuilder() {
      if ((policyCase_ == 2) && (dailyMaintenanceWindowBuilder_ != null)) {
        return dailyMaintenanceWindowBuilder_.getMessageOrBuilder();
      } else {
        if (policyCase_ == 2) {
          return (com.google.container.v1.DailyMaintenanceWindow) policy_;
        }
        return com.google.container.v1.DailyMaintenanceWindow.getDefaultInstance();
      }
    }
    /**
     * <pre>
     * DailyMaintenanceWindow specifies a daily maintenance operation window.
     * </pre>
     *
     * <code>.google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.container.v1.DailyMaintenanceWindow, com.google.container.v1.DailyMaintenanceWindow.Builder, com.google.container.v1.DailyMaintenanceWindowOrBuilder> 
        getDailyMaintenanceWindowFieldBuilder() {
      if (dailyMaintenanceWindowBuilder_ == null) {
        if (!(policyCase_ == 2)) {
          policy_ = com.google.container.v1.DailyMaintenanceWindow.getDefaultInstance();
        }
        dailyMaintenanceWindowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.google.container.v1.DailyMaintenanceWindow, com.google.container.v1.DailyMaintenanceWindow.Builder, com.google.container.v1.DailyMaintenanceWindowOrBuilder>(
                (com.google.container.v1.DailyMaintenanceWindow) policy_,
                getParentForChildren(),
                isClean());
        policy_ = null;
      }
      policyCase_ = 2;
      onChanged();;
      return dailyMaintenanceWindowBuilder_;
    }
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFieldsProto3(unknownFields);
    }

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


    // @@protoc_insertion_point(builder_scope:google.container.v1.MaintenanceWindow)
  }

  // @@protoc_insertion_point(class_scope:google.container.v1.MaintenanceWindow)
  private static final com.google.container.v1.MaintenanceWindow DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new com.google.container.v1.MaintenanceWindow();
  }

  public static com.google.container.v1.MaintenanceWindow getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser<MaintenanceWindow>
      PARSER = new com.google.protobuf.AbstractParser<MaintenanceWindow>() {
    public MaintenanceWindow parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return new MaintenanceWindow(input, extensionRegistry);
    }
  };

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

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

  public com.google.container.v1.MaintenanceWindow getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

