/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/appengine/v1/app_yaml.proto

package com.google.appengine.v1;

/**
 *
 *
 * <pre>
 * Health checking configuration for VM instances. Unhealthy instances
 * are killed and replaced with new instances.
 * </pre>
 *
 * Protobuf type {@code google.appengine.v1.LivenessCheck}
 */
public final class LivenessCheck extends com.google.protobuf.GeneratedMessageV3
    implements
    // @@protoc_insertion_point(message_implements:google.appengine.v1.LivenessCheck)
    LivenessCheckOrBuilder {
  private static final long serialVersionUID = 0L;
  // Use LivenessCheck.newBuilder() to construct.
  private LivenessCheck(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }

  private LivenessCheck() {
    path_ = "";
    host_ = "";
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
    return new LivenessCheck();
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
    return this.unknownFields;
  }

  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    return com.google.appengine.v1.AppYamlProto
        .internal_static_google_appengine_v1_LivenessCheck_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.google.appengine.v1.AppYamlProto
        .internal_static_google_appengine_v1_LivenessCheck_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.google.appengine.v1.LivenessCheck.class,
            com.google.appengine.v1.LivenessCheck.Builder.class);
  }

  public static final int PATH_FIELD_NUMBER = 1;

  @SuppressWarnings("serial")
  private volatile java.lang.Object path_ = "";
  /**
   *
   *
   * <pre>
   * The request path.
   * </pre>
   *
   * <code>string path = 1;</code>
   *
   * @return The path.
   */
  @java.lang.Override
  public java.lang.String getPath() {
    java.lang.Object ref = path_;
    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();
      path_ = s;
      return s;
    }
  }
  /**
   *
   *
   * <pre>
   * The request path.
   * </pre>
   *
   * <code>string path = 1;</code>
   *
   * @return The bytes for path.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString getPathBytes() {
    java.lang.Object ref = path_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      path_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int HOST_FIELD_NUMBER = 2;

  @SuppressWarnings("serial")
  private volatile java.lang.Object host_ = "";
  /**
   *
   *
   * <pre>
   * Host header to send when performing a HTTP Liveness check.
   * Example: "myapp.appspot.com"
   * </pre>
   *
   * <code>string host = 2;</code>
   *
   * @return The host.
   */
  @java.lang.Override
  public java.lang.String getHost() {
    java.lang.Object ref = host_;
    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();
      host_ = s;
      return s;
    }
  }
  /**
   *
   *
   * <pre>
   * Host header to send when performing a HTTP Liveness check.
   * Example: "myapp.appspot.com"
   * </pre>
   *
   * <code>string host = 2;</code>
   *
   * @return The bytes for host.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString getHostBytes() {
    java.lang.Object ref = host_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      host_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int FAILURE_THRESHOLD_FIELD_NUMBER = 3;
  private int failureThreshold_ = 0;
  /**
   *
   *
   * <pre>
   * Number of consecutive failed checks required before considering the
   * VM unhealthy.
   * </pre>
   *
   * <code>uint32 failure_threshold = 3;</code>
   *
   * @return The failureThreshold.
   */
  @java.lang.Override
  public int getFailureThreshold() {
    return failureThreshold_;
  }

  public static final int SUCCESS_THRESHOLD_FIELD_NUMBER = 4;
  private int successThreshold_ = 0;
  /**
   *
   *
   * <pre>
   * Number of consecutive successful checks required before considering
   * the VM healthy.
   * </pre>
   *
   * <code>uint32 success_threshold = 4;</code>
   *
   * @return The successThreshold.
   */
  @java.lang.Override
  public int getSuccessThreshold() {
    return successThreshold_;
  }

  public static final int CHECK_INTERVAL_FIELD_NUMBER = 5;
  private com.google.protobuf.Duration checkInterval_;
  /**
   *
   *
   * <pre>
   * Interval between health checks.
   * </pre>
   *
   * <code>.google.protobuf.Duration check_interval = 5;</code>
   *
   * @return Whether the checkInterval field is set.
   */
  @java.lang.Override
  public boolean hasCheckInterval() {
    return checkInterval_ != null;
  }
  /**
   *
   *
   * <pre>
   * Interval between health checks.
   * </pre>
   *
   * <code>.google.protobuf.Duration check_interval = 5;</code>
   *
   * @return The checkInterval.
   */
  @java.lang.Override
  public com.google.protobuf.Duration getCheckInterval() {
    return checkInterval_ == null
        ? com.google.protobuf.Duration.getDefaultInstance()
        : checkInterval_;
  }
  /**
   *
   *
   * <pre>
   * Interval between health checks.
   * </pre>
   *
   * <code>.google.protobuf.Duration check_interval = 5;</code>
   */
  @java.lang.Override
  public com.google.protobuf.DurationOrBuilder getCheckIntervalOrBuilder() {
    return checkInterval_ == null
        ? com.google.protobuf.Duration.getDefaultInstance()
        : checkInterval_;
  }

  public static final int TIMEOUT_FIELD_NUMBER = 6;
  private com.google.protobuf.Duration timeout_;
  /**
   *
   *
   * <pre>
   * Time before the check is considered failed.
   * </pre>
   *
   * <code>.google.protobuf.Duration timeout = 6;</code>
   *
   * @return Whether the timeout field is set.
   */
  @java.lang.Override
  public boolean hasTimeout() {
    return timeout_ != null;
  }
  /**
   *
   *
   * <pre>
   * Time before the check is considered failed.
   * </pre>
   *
   * <code>.google.protobuf.Duration timeout = 6;</code>
   *
   * @return The timeout.
   */
  @java.lang.Override
  public com.google.protobuf.Duration getTimeout() {
    return timeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeout_;
  }
  /**
   *
   *
   * <pre>
   * Time before the check is considered failed.
   * </pre>
   *
   * <code>.google.protobuf.Duration timeout = 6;</code>
   */
  @java.lang.Override
  public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
    return timeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeout_;
  }

  public static final int INITIAL_DELAY_FIELD_NUMBER = 7;
  private com.google.protobuf.Duration initialDelay_;
  /**
   *
   *
   * <pre>
   * The initial delay before starting to execute the checks.
   * </pre>
   *
   * <code>.google.protobuf.Duration initial_delay = 7;</code>
   *
   * @return Whether the initialDelay field is set.
   */
  @java.lang.Override
  public boolean hasInitialDelay() {
    return initialDelay_ != null;
  }
  /**
   *
   *
   * <pre>
   * The initial delay before starting to execute the checks.
   * </pre>
   *
   * <code>.google.protobuf.Duration initial_delay = 7;</code>
   *
   * @return The initialDelay.
   */
  @java.lang.Override
  public com.google.protobuf.Duration getInitialDelay() {
    return initialDelay_ == null
        ? com.google.protobuf.Duration.getDefaultInstance()
        : initialDelay_;
  }
  /**
   *
   *
   * <pre>
   * The initial delay before starting to execute the checks.
   * </pre>
   *
   * <code>.google.protobuf.Duration initial_delay = 7;</code>
   */
  @java.lang.Override
  public com.google.protobuf.DurationOrBuilder getInitialDelayOrBuilder() {
    return initialDelay_ == null
        ? com.google.protobuf.Duration.getDefaultInstance()
        : initialDelay_;
  }

  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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(host_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, host_);
    }
    if (failureThreshold_ != 0) {
      output.writeUInt32(3, failureThreshold_);
    }
    if (successThreshold_ != 0) {
      output.writeUInt32(4, successThreshold_);
    }
    if (checkInterval_ != null) {
      output.writeMessage(5, getCheckInterval());
    }
    if (timeout_ != null) {
      output.writeMessage(6, getTimeout());
    }
    if (initialDelay_ != null) {
      output.writeMessage(7, getInitialDelay());
    }
    getUnknownFields().writeTo(output);
  }

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

    size = 0;
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, path_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(host_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, host_);
    }
    if (failureThreshold_ != 0) {
      size += com.google.protobuf.CodedOutputStream.computeUInt32Size(3, failureThreshold_);
    }
    if (successThreshold_ != 0) {
      size += com.google.protobuf.CodedOutputStream.computeUInt32Size(4, successThreshold_);
    }
    if (checkInterval_ != null) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCheckInterval());
    }
    if (timeout_ != null) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getTimeout());
    }
    if (initialDelay_ != null) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getInitialDelay());
    }
    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 com.google.appengine.v1.LivenessCheck)) {
      return super.equals(obj);
    }
    com.google.appengine.v1.LivenessCheck other = (com.google.appengine.v1.LivenessCheck) obj;

    if (!getPath().equals(other.getPath())) return false;
    if (!getHost().equals(other.getHost())) return false;
    if (getFailureThreshold() != other.getFailureThreshold()) return false;
    if (getSuccessThreshold() != other.getSuccessThreshold()) return false;
    if (hasCheckInterval() != other.hasCheckInterval()) return false;
    if (hasCheckInterval()) {
      if (!getCheckInterval().equals(other.getCheckInterval())) return false;
    }
    if (hasTimeout() != other.hasTimeout()) return false;
    if (hasTimeout()) {
      if (!getTimeout().equals(other.getTimeout())) return false;
    }
    if (hasInitialDelay() != other.hasInitialDelay()) return false;
    if (hasInitialDelay()) {
      if (!getInitialDelay().equals(other.getInitialDelay())) 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();
    hash = (37 * hash) + PATH_FIELD_NUMBER;
    hash = (53 * hash) + getPath().hashCode();
    hash = (37 * hash) + HOST_FIELD_NUMBER;
    hash = (53 * hash) + getHost().hashCode();
    hash = (37 * hash) + FAILURE_THRESHOLD_FIELD_NUMBER;
    hash = (53 * hash) + getFailureThreshold();
    hash = (37 * hash) + SUCCESS_THRESHOLD_FIELD_NUMBER;
    hash = (53 * hash) + getSuccessThreshold();
    if (hasCheckInterval()) {
      hash = (37 * hash) + CHECK_INTERVAL_FIELD_NUMBER;
      hash = (53 * hash) + getCheckInterval().hashCode();
    }
    if (hasTimeout()) {
      hash = (37 * hash) + TIMEOUT_FIELD_NUMBER;
      hash = (53 * hash) + getTimeout().hashCode();
    }
    if (hasInitialDelay()) {
      hash = (37 * hash) + INITIAL_DELAY_FIELD_NUMBER;
      hash = (53 * hash) + getInitialDelay().hashCode();
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.google.appengine.v1.LivenessCheck parseFrom(java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }

  public static com.google.appengine.v1.LivenessCheck parseFrom(
      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }

  public static com.google.appengine.v1.LivenessCheck parseFrom(com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }

  public static com.google.appengine.v1.LivenessCheck 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.appengine.v1.LivenessCheck parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }

  public static com.google.appengine.v1.LivenessCheck parseFrom(
      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }

  public static com.google.appengine.v1.LivenessCheck parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
  }

  public static com.google.appengine.v1.LivenessCheck 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.appengine.v1.LivenessCheck parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
  }

  public static com.google.appengine.v1.LivenessCheck 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.appengine.v1.LivenessCheck parseFrom(
      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
  }

  public static com.google.appengine.v1.LivenessCheck parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
        PARSER, input, extensionRegistry);
  }

  @java.lang.Override
  public Builder newBuilderForType() {
    return newBuilder();
  }

  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }

  public static Builder newBuilder(com.google.appengine.v1.LivenessCheck prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }

  @java.lang.Override
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   *
   *
   * <pre>
   * Health checking configuration for VM instances. Unhealthy instances
   * are killed and replaced with new instances.
   * </pre>
   *
   * Protobuf type {@code google.appengine.v1.LivenessCheck}
   */
  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
      implements
      // @@protoc_insertion_point(builder_implements:google.appengine.v1.LivenessCheck)
      com.google.appengine.v1.LivenessCheckOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      return com.google.appengine.v1.AppYamlProto
          .internal_static_google_appengine_v1_LivenessCheck_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.appengine.v1.AppYamlProto
          .internal_static_google_appengine_v1_LivenessCheck_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.appengine.v1.LivenessCheck.class,
              com.google.appengine.v1.LivenessCheck.Builder.class);
    }

    // Construct using com.google.appengine.v1.LivenessCheck.newBuilder()
    private Builder() {}

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

    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      path_ = "";
      host_ = "";
      failureThreshold_ = 0;
      successThreshold_ = 0;
      checkInterval_ = null;
      if (checkIntervalBuilder_ != null) {
        checkIntervalBuilder_.dispose();
        checkIntervalBuilder_ = null;
      }
      timeout_ = null;
      if (timeoutBuilder_ != null) {
        timeoutBuilder_.dispose();
        timeoutBuilder_ = null;
      }
      initialDelay_ = null;
      if (initialDelayBuilder_ != null) {
        initialDelayBuilder_.dispose();
        initialDelayBuilder_ = null;
      }
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
      return com.google.appengine.v1.AppYamlProto
          .internal_static_google_appengine_v1_LivenessCheck_descriptor;
    }

    @java.lang.Override
    public com.google.appengine.v1.LivenessCheck getDefaultInstanceForType() {
      return com.google.appengine.v1.LivenessCheck.getDefaultInstance();
    }

    @java.lang.Override
    public com.google.appengine.v1.LivenessCheck build() {
      com.google.appengine.v1.LivenessCheck result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public com.google.appengine.v1.LivenessCheck buildPartial() {
      com.google.appengine.v1.LivenessCheck result =
          new com.google.appengine.v1.LivenessCheck(this);
      if (bitField0_ != 0) {
        buildPartial0(result);
      }
      onBuilt();
      return result;
    }

    private void buildPartial0(com.google.appengine.v1.LivenessCheck result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.path_ = path_;
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.host_ = host_;
      }
      if (((from_bitField0_ & 0x00000004) != 0)) {
        result.failureThreshold_ = failureThreshold_;
      }
      if (((from_bitField0_ & 0x00000008) != 0)) {
        result.successThreshold_ = successThreshold_;
      }
      if (((from_bitField0_ & 0x00000010) != 0)) {
        result.checkInterval_ =
            checkIntervalBuilder_ == null ? checkInterval_ : checkIntervalBuilder_.build();
      }
      if (((from_bitField0_ & 0x00000020) != 0)) {
        result.timeout_ = timeoutBuilder_ == null ? timeout_ : timeoutBuilder_.build();
      }
      if (((from_bitField0_ & 0x00000040) != 0)) {
        result.initialDelay_ =
            initialDelayBuilder_ == null ? initialDelay_ : initialDelayBuilder_.build();
      }
    }

    @java.lang.Override
    public Builder clone() {
      return super.clone();
    }

    @java.lang.Override
    public Builder setField(
        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
      return super.setField(field, value);
    }

    @java.lang.Override
    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
      return super.clearField(field);
    }

    @java.lang.Override
    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
      return super.clearOneof(oneof);
    }

    @java.lang.Override
    public Builder setRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
      return super.setRepeatedField(field, index, value);
    }

    @java.lang.Override
    public Builder addRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
      return super.addRepeatedField(field, value);
    }

    @java.lang.Override
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof com.google.appengine.v1.LivenessCheck) {
        return mergeFrom((com.google.appengine.v1.LivenessCheck) other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.google.appengine.v1.LivenessCheck other) {
      if (other == com.google.appengine.v1.LivenessCheck.getDefaultInstance()) return this;
      if (!other.getPath().isEmpty()) {
        path_ = other.path_;
        bitField0_ |= 0x00000001;
        onChanged();
      }
      if (!other.getHost().isEmpty()) {
        host_ = other.host_;
        bitField0_ |= 0x00000002;
        onChanged();
      }
      if (other.getFailureThreshold() != 0) {
        setFailureThreshold(other.getFailureThreshold());
      }
      if (other.getSuccessThreshold() != 0) {
        setSuccessThreshold(other.getSuccessThreshold());
      }
      if (other.hasCheckInterval()) {
        mergeCheckInterval(other.getCheckInterval());
      }
      if (other.hasTimeout()) {
        mergeTimeout(other.getTimeout());
      }
      if (other.hasInitialDelay()) {
        mergeInitialDelay(other.getInitialDelay());
      }
      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:
              {
                path_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000001;
                break;
              } // case 10
            case 18:
              {
                host_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000002;
                break;
              } // case 18
            case 24:
              {
                failureThreshold_ = input.readUInt32();
                bitField0_ |= 0x00000004;
                break;
              } // case 24
            case 32:
              {
                successThreshold_ = input.readUInt32();
                bitField0_ |= 0x00000008;
                break;
              } // case 32
            case 42:
              {
                input.readMessage(getCheckIntervalFieldBuilder().getBuilder(), extensionRegistry);
                bitField0_ |= 0x00000010;
                break;
              } // case 42
            case 50:
              {
                input.readMessage(getTimeoutFieldBuilder().getBuilder(), extensionRegistry);
                bitField0_ |= 0x00000020;
                break;
              } // case 50
            case 58:
              {
                input.readMessage(getInitialDelayFieldBuilder().getBuilder(), extensionRegistry);
                bitField0_ |= 0x00000040;
                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 java.lang.Object path_ = "";
    /**
     *
     *
     * <pre>
     * The request path.
     * </pre>
     *
     * <code>string path = 1;</code>
     *
     * @return The path.
     */
    public java.lang.String getPath() {
      java.lang.Object ref = path_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        path_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * The request path.
     * </pre>
     *
     * <code>string path = 1;</code>
     *
     * @return The bytes for path.
     */
    public com.google.protobuf.ByteString getPathBytes() {
      java.lang.Object ref = path_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        path_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * The request path.
     * </pre>
     *
     * <code>string path = 1;</code>
     *
     * @param value The path to set.
     * @return This builder for chaining.
     */
    public Builder setPath(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      path_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * The request path.
     * </pre>
     *
     * <code>string path = 1;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearPath() {
      path_ = getDefaultInstance().getPath();
      bitField0_ = (bitField0_ & ~0x00000001);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * The request path.
     * </pre>
     *
     * <code>string path = 1;</code>
     *
     * @param value The bytes for path to set.
     * @return This builder for chaining.
     */
    public Builder setPathBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);
      path_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }

    private java.lang.Object host_ = "";
    /**
     *
     *
     * <pre>
     * Host header to send when performing a HTTP Liveness check.
     * Example: "myapp.appspot.com"
     * </pre>
     *
     * <code>string host = 2;</code>
     *
     * @return The host.
     */
    public java.lang.String getHost() {
      java.lang.Object ref = host_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        host_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Host header to send when performing a HTTP Liveness check.
     * Example: "myapp.appspot.com"
     * </pre>
     *
     * <code>string host = 2;</code>
     *
     * @return The bytes for host.
     */
    public com.google.protobuf.ByteString getHostBytes() {
      java.lang.Object ref = host_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        host_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Host header to send when performing a HTTP Liveness check.
     * Example: "myapp.appspot.com"
     * </pre>
     *
     * <code>string host = 2;</code>
     *
     * @param value The host to set.
     * @return This builder for chaining.
     */
    public Builder setHost(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      host_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Host header to send when performing a HTTP Liveness check.
     * Example: "myapp.appspot.com"
     * </pre>
     *
     * <code>string host = 2;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearHost() {
      host_ = getDefaultInstance().getHost();
      bitField0_ = (bitField0_ & ~0x00000002);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Host header to send when performing a HTTP Liveness check.
     * Example: "myapp.appspot.com"
     * </pre>
     *
     * <code>string host = 2;</code>
     *
     * @param value The bytes for host to set.
     * @return This builder for chaining.
     */
    public Builder setHostBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);
      host_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }

    private int failureThreshold_;
    /**
     *
     *
     * <pre>
     * Number of consecutive failed checks required before considering the
     * VM unhealthy.
     * </pre>
     *
     * <code>uint32 failure_threshold = 3;</code>
     *
     * @return The failureThreshold.
     */
    @java.lang.Override
    public int getFailureThreshold() {
      return failureThreshold_;
    }
    /**
     *
     *
     * <pre>
     * Number of consecutive failed checks required before considering the
     * VM unhealthy.
     * </pre>
     *
     * <code>uint32 failure_threshold = 3;</code>
     *
     * @param value The failureThreshold to set.
     * @return This builder for chaining.
     */
    public Builder setFailureThreshold(int value) {

      failureThreshold_ = value;
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Number of consecutive failed checks required before considering the
     * VM unhealthy.
     * </pre>
     *
     * <code>uint32 failure_threshold = 3;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearFailureThreshold() {
      bitField0_ = (bitField0_ & ~0x00000004);
      failureThreshold_ = 0;
      onChanged();
      return this;
    }

    private int successThreshold_;
    /**
     *
     *
     * <pre>
     * Number of consecutive successful checks required before considering
     * the VM healthy.
     * </pre>
     *
     * <code>uint32 success_threshold = 4;</code>
     *
     * @return The successThreshold.
     */
    @java.lang.Override
    public int getSuccessThreshold() {
      return successThreshold_;
    }
    /**
     *
     *
     * <pre>
     * Number of consecutive successful checks required before considering
     * the VM healthy.
     * </pre>
     *
     * <code>uint32 success_threshold = 4;</code>
     *
     * @param value The successThreshold to set.
     * @return This builder for chaining.
     */
    public Builder setSuccessThreshold(int value) {

      successThreshold_ = value;
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Number of consecutive successful checks required before considering
     * the VM healthy.
     * </pre>
     *
     * <code>uint32 success_threshold = 4;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearSuccessThreshold() {
      bitField0_ = (bitField0_ & ~0x00000008);
      successThreshold_ = 0;
      onChanged();
      return this;
    }

    private com.google.protobuf.Duration checkInterval_;
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Duration,
            com.google.protobuf.Duration.Builder,
            com.google.protobuf.DurationOrBuilder>
        checkIntervalBuilder_;
    /**
     *
     *
     * <pre>
     * Interval between health checks.
     * </pre>
     *
     * <code>.google.protobuf.Duration check_interval = 5;</code>
     *
     * @return Whether the checkInterval field is set.
     */
    public boolean hasCheckInterval() {
      return ((bitField0_ & 0x00000010) != 0);
    }
    /**
     *
     *
     * <pre>
     * Interval between health checks.
     * </pre>
     *
     * <code>.google.protobuf.Duration check_interval = 5;</code>
     *
     * @return The checkInterval.
     */
    public com.google.protobuf.Duration getCheckInterval() {
      if (checkIntervalBuilder_ == null) {
        return checkInterval_ == null
            ? com.google.protobuf.Duration.getDefaultInstance()
            : checkInterval_;
      } else {
        return checkIntervalBuilder_.getMessage();
      }
    }
    /**
     *
     *
     * <pre>
     * Interval between health checks.
     * </pre>
     *
     * <code>.google.protobuf.Duration check_interval = 5;</code>
     */
    public Builder setCheckInterval(com.google.protobuf.Duration value) {
      if (checkIntervalBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        checkInterval_ = value;
      } else {
        checkIntervalBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Interval between health checks.
     * </pre>
     *
     * <code>.google.protobuf.Duration check_interval = 5;</code>
     */
    public Builder setCheckInterval(com.google.protobuf.Duration.Builder builderForValue) {
      if (checkIntervalBuilder_ == null) {
        checkInterval_ = builderForValue.build();
      } else {
        checkIntervalBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Interval between health checks.
     * </pre>
     *
     * <code>.google.protobuf.Duration check_interval = 5;</code>
     */
    public Builder mergeCheckInterval(com.google.protobuf.Duration value) {
      if (checkIntervalBuilder_ == null) {
        if (((bitField0_ & 0x00000010) != 0)
            && checkInterval_ != null
            && checkInterval_ != com.google.protobuf.Duration.getDefaultInstance()) {
          getCheckIntervalBuilder().mergeFrom(value);
        } else {
          checkInterval_ = value;
        }
      } else {
        checkIntervalBuilder_.mergeFrom(value);
      }
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Interval between health checks.
     * </pre>
     *
     * <code>.google.protobuf.Duration check_interval = 5;</code>
     */
    public Builder clearCheckInterval() {
      bitField0_ = (bitField0_ & ~0x00000010);
      checkInterval_ = null;
      if (checkIntervalBuilder_ != null) {
        checkIntervalBuilder_.dispose();
        checkIntervalBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Interval between health checks.
     * </pre>
     *
     * <code>.google.protobuf.Duration check_interval = 5;</code>
     */
    public com.google.protobuf.Duration.Builder getCheckIntervalBuilder() {
      bitField0_ |= 0x00000010;
      onChanged();
      return getCheckIntervalFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <pre>
     * Interval between health checks.
     * </pre>
     *
     * <code>.google.protobuf.Duration check_interval = 5;</code>
     */
    public com.google.protobuf.DurationOrBuilder getCheckIntervalOrBuilder() {
      if (checkIntervalBuilder_ != null) {
        return checkIntervalBuilder_.getMessageOrBuilder();
      } else {
        return checkInterval_ == null
            ? com.google.protobuf.Duration.getDefaultInstance()
            : checkInterval_;
      }
    }
    /**
     *
     *
     * <pre>
     * Interval between health checks.
     * </pre>
     *
     * <code>.google.protobuf.Duration check_interval = 5;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Duration,
            com.google.protobuf.Duration.Builder,
            com.google.protobuf.DurationOrBuilder>
        getCheckIntervalFieldBuilder() {
      if (checkIntervalBuilder_ == null) {
        checkIntervalBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.protobuf.Duration,
                com.google.protobuf.Duration.Builder,
                com.google.protobuf.DurationOrBuilder>(
                getCheckInterval(), getParentForChildren(), isClean());
        checkInterval_ = null;
      }
      return checkIntervalBuilder_;
    }

    private com.google.protobuf.Duration timeout_;
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Duration,
            com.google.protobuf.Duration.Builder,
            com.google.protobuf.DurationOrBuilder>
        timeoutBuilder_;
    /**
     *
     *
     * <pre>
     * Time before the check is considered failed.
     * </pre>
     *
     * <code>.google.protobuf.Duration timeout = 6;</code>
     *
     * @return Whether the timeout field is set.
     */
    public boolean hasTimeout() {
      return ((bitField0_ & 0x00000020) != 0);
    }
    /**
     *
     *
     * <pre>
     * Time before the check is considered failed.
     * </pre>
     *
     * <code>.google.protobuf.Duration timeout = 6;</code>
     *
     * @return The timeout.
     */
    public com.google.protobuf.Duration getTimeout() {
      if (timeoutBuilder_ == null) {
        return timeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeout_;
      } else {
        return timeoutBuilder_.getMessage();
      }
    }
    /**
     *
     *
     * <pre>
     * Time before the check is considered failed.
     * </pre>
     *
     * <code>.google.protobuf.Duration timeout = 6;</code>
     */
    public Builder setTimeout(com.google.protobuf.Duration value) {
      if (timeoutBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        timeout_ = value;
      } else {
        timeoutBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000020;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Time before the check is considered failed.
     * </pre>
     *
     * <code>.google.protobuf.Duration timeout = 6;</code>
     */
    public Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue) {
      if (timeoutBuilder_ == null) {
        timeout_ = builderForValue.build();
      } else {
        timeoutBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000020;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Time before the check is considered failed.
     * </pre>
     *
     * <code>.google.protobuf.Duration timeout = 6;</code>
     */
    public Builder mergeTimeout(com.google.protobuf.Duration value) {
      if (timeoutBuilder_ == null) {
        if (((bitField0_ & 0x00000020) != 0)
            && timeout_ != null
            && timeout_ != com.google.protobuf.Duration.getDefaultInstance()) {
          getTimeoutBuilder().mergeFrom(value);
        } else {
          timeout_ = value;
        }
      } else {
        timeoutBuilder_.mergeFrom(value);
      }
      bitField0_ |= 0x00000020;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Time before the check is considered failed.
     * </pre>
     *
     * <code>.google.protobuf.Duration timeout = 6;</code>
     */
    public Builder clearTimeout() {
      bitField0_ = (bitField0_ & ~0x00000020);
      timeout_ = null;
      if (timeoutBuilder_ != null) {
        timeoutBuilder_.dispose();
        timeoutBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Time before the check is considered failed.
     * </pre>
     *
     * <code>.google.protobuf.Duration timeout = 6;</code>
     */
    public com.google.protobuf.Duration.Builder getTimeoutBuilder() {
      bitField0_ |= 0x00000020;
      onChanged();
      return getTimeoutFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <pre>
     * Time before the check is considered failed.
     * </pre>
     *
     * <code>.google.protobuf.Duration timeout = 6;</code>
     */
    public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
      if (timeoutBuilder_ != null) {
        return timeoutBuilder_.getMessageOrBuilder();
      } else {
        return timeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeout_;
      }
    }
    /**
     *
     *
     * <pre>
     * Time before the check is considered failed.
     * </pre>
     *
     * <code>.google.protobuf.Duration timeout = 6;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Duration,
            com.google.protobuf.Duration.Builder,
            com.google.protobuf.DurationOrBuilder>
        getTimeoutFieldBuilder() {
      if (timeoutBuilder_ == null) {
        timeoutBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.protobuf.Duration,
                com.google.protobuf.Duration.Builder,
                com.google.protobuf.DurationOrBuilder>(
                getTimeout(), getParentForChildren(), isClean());
        timeout_ = null;
      }
      return timeoutBuilder_;
    }

    private com.google.protobuf.Duration initialDelay_;
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Duration,
            com.google.protobuf.Duration.Builder,
            com.google.protobuf.DurationOrBuilder>
        initialDelayBuilder_;
    /**
     *
     *
     * <pre>
     * The initial delay before starting to execute the checks.
     * </pre>
     *
     * <code>.google.protobuf.Duration initial_delay = 7;</code>
     *
     * @return Whether the initialDelay field is set.
     */
    public boolean hasInitialDelay() {
      return ((bitField0_ & 0x00000040) != 0);
    }
    /**
     *
     *
     * <pre>
     * The initial delay before starting to execute the checks.
     * </pre>
     *
     * <code>.google.protobuf.Duration initial_delay = 7;</code>
     *
     * @return The initialDelay.
     */
    public com.google.protobuf.Duration getInitialDelay() {
      if (initialDelayBuilder_ == null) {
        return initialDelay_ == null
            ? com.google.protobuf.Duration.getDefaultInstance()
            : initialDelay_;
      } else {
        return initialDelayBuilder_.getMessage();
      }
    }
    /**
     *
     *
     * <pre>
     * The initial delay before starting to execute the checks.
     * </pre>
     *
     * <code>.google.protobuf.Duration initial_delay = 7;</code>
     */
    public Builder setInitialDelay(com.google.protobuf.Duration value) {
      if (initialDelayBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        initialDelay_ = value;
      } else {
        initialDelayBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000040;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * The initial delay before starting to execute the checks.
     * </pre>
     *
     * <code>.google.protobuf.Duration initial_delay = 7;</code>
     */
    public Builder setInitialDelay(com.google.protobuf.Duration.Builder builderForValue) {
      if (initialDelayBuilder_ == null) {
        initialDelay_ = builderForValue.build();
      } else {
        initialDelayBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000040;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * The initial delay before starting to execute the checks.
     * </pre>
     *
     * <code>.google.protobuf.Duration initial_delay = 7;</code>
     */
    public Builder mergeInitialDelay(com.google.protobuf.Duration value) {
      if (initialDelayBuilder_ == null) {
        if (((bitField0_ & 0x00000040) != 0)
            && initialDelay_ != null
            && initialDelay_ != com.google.protobuf.Duration.getDefaultInstance()) {
          getInitialDelayBuilder().mergeFrom(value);
        } else {
          initialDelay_ = value;
        }
      } else {
        initialDelayBuilder_.mergeFrom(value);
      }
      bitField0_ |= 0x00000040;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * The initial delay before starting to execute the checks.
     * </pre>
     *
     * <code>.google.protobuf.Duration initial_delay = 7;</code>
     */
    public Builder clearInitialDelay() {
      bitField0_ = (bitField0_ & ~0x00000040);
      initialDelay_ = null;
      if (initialDelayBuilder_ != null) {
        initialDelayBuilder_.dispose();
        initialDelayBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * The initial delay before starting to execute the checks.
     * </pre>
     *
     * <code>.google.protobuf.Duration initial_delay = 7;</code>
     */
    public com.google.protobuf.Duration.Builder getInitialDelayBuilder() {
      bitField0_ |= 0x00000040;
      onChanged();
      return getInitialDelayFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <pre>
     * The initial delay before starting to execute the checks.
     * </pre>
     *
     * <code>.google.protobuf.Duration initial_delay = 7;</code>
     */
    public com.google.protobuf.DurationOrBuilder getInitialDelayOrBuilder() {
      if (initialDelayBuilder_ != null) {
        return initialDelayBuilder_.getMessageOrBuilder();
      } else {
        return initialDelay_ == null
            ? com.google.protobuf.Duration.getDefaultInstance()
            : initialDelay_;
      }
    }
    /**
     *
     *
     * <pre>
     * The initial delay before starting to execute the checks.
     * </pre>
     *
     * <code>.google.protobuf.Duration initial_delay = 7;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Duration,
            com.google.protobuf.Duration.Builder,
            com.google.protobuf.DurationOrBuilder>
        getInitialDelayFieldBuilder() {
      if (initialDelayBuilder_ == null) {
        initialDelayBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.protobuf.Duration,
                com.google.protobuf.Duration.Builder,
                com.google.protobuf.DurationOrBuilder>(
                getInitialDelay(), getParentForChildren(), isClean());
        initialDelay_ = null;
      }
      return initialDelayBuilder_;
    }

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

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

    // @@protoc_insertion_point(builder_scope:google.appengine.v1.LivenessCheck)
  }

  // @@protoc_insertion_point(class_scope:google.appengine.v1.LivenessCheck)
  private static final com.google.appengine.v1.LivenessCheck DEFAULT_INSTANCE;

  static {
    DEFAULT_INSTANCE = new com.google.appengine.v1.LivenessCheck();
  }

  public static com.google.appengine.v1.LivenessCheck getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser<LivenessCheck> PARSER =
      new com.google.protobuf.AbstractParser<LivenessCheck>() {
        @java.lang.Override
        public LivenessCheck 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<LivenessCheck> parser() {
    return PARSER;
  }

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

  @java.lang.Override
  public com.google.appengine.v1.LivenessCheck getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }
}
