/*
 * 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;

public interface LivenessCheckOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.appengine.v1.LivenessCheck)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * The request path.
   * </pre>
   *
   * <code>string path = 1;</code>
   *
   * @return The path.
   */
  java.lang.String getPath();
  /**
   *
   *
   * <pre>
   * The request path.
   * </pre>
   *
   * <code>string path = 1;</code>
   *
   * @return The bytes for path.
   */
  com.google.protobuf.ByteString getPathBytes();

  /**
   *
   *
   * <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.String getHost();
  /**
   *
   *
   * <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.
   */
  com.google.protobuf.ByteString getHostBytes();

  /**
   *
   *
   * <pre>
   * Number of consecutive failed checks required before considering the
   * VM unhealthy.
   * </pre>
   *
   * <code>uint32 failure_threshold = 3;</code>
   *
   * @return The failureThreshold.
   */
  int getFailureThreshold();

  /**
   *
   *
   * <pre>
   * Number of consecutive successful checks required before considering
   * the VM healthy.
   * </pre>
   *
   * <code>uint32 success_threshold = 4;</code>
   *
   * @return The successThreshold.
   */
  int getSuccessThreshold();

  /**
   *
   *
   * <pre>
   * Interval between health checks.
   * </pre>
   *
   * <code>.google.protobuf.Duration check_interval = 5;</code>
   *
   * @return Whether the checkInterval field is set.
   */
  boolean hasCheckInterval();
  /**
   *
   *
   * <pre>
   * Interval between health checks.
   * </pre>
   *
   * <code>.google.protobuf.Duration check_interval = 5;</code>
   *
   * @return The checkInterval.
   */
  com.google.protobuf.Duration getCheckInterval();
  /**
   *
   *
   * <pre>
   * Interval between health checks.
   * </pre>
   *
   * <code>.google.protobuf.Duration check_interval = 5;</code>
   */
  com.google.protobuf.DurationOrBuilder getCheckIntervalOrBuilder();

  /**
   *
   *
   * <pre>
   * Time before the check is considered failed.
   * </pre>
   *
   * <code>.google.protobuf.Duration timeout = 6;</code>
   *
   * @return Whether the timeout field is set.
   */
  boolean hasTimeout();
  /**
   *
   *
   * <pre>
   * Time before the check is considered failed.
   * </pre>
   *
   * <code>.google.protobuf.Duration timeout = 6;</code>
   *
   * @return The timeout.
   */
  com.google.protobuf.Duration getTimeout();
  /**
   *
   *
   * <pre>
   * Time before the check is considered failed.
   * </pre>
   *
   * <code>.google.protobuf.Duration timeout = 6;</code>
   */
  com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder();

  /**
   *
   *
   * <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.
   */
  boolean hasInitialDelay();
  /**
   *
   *
   * <pre>
   * The initial delay before starting to execute the checks.
   * </pre>
   *
   * <code>.google.protobuf.Duration initial_delay = 7;</code>
   *
   * @return The initialDelay.
   */
  com.google.protobuf.Duration getInitialDelay();
  /**
   *
   *
   * <pre>
   * The initial delay before starting to execute the checks.
   * </pre>
   *
   * <code>.google.protobuf.Duration initial_delay = 7;</code>
   */
  com.google.protobuf.DurationOrBuilder getInitialDelayOrBuilder();
}
