Interface LivenessCheckOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    LivenessCheck, LivenessCheck.Builder

    public interface LivenessCheckOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.protobuf.Duration getCheckInterval()
      Interval between health checks.
      com.google.protobuf.DurationOrBuilder getCheckIntervalOrBuilder()
      Interval between health checks.
      int getFailureThreshold()
      Number of consecutive failed checks required before considering the VM unhealthy.
      String getHost()
      Host header to send when performing a HTTP Liveness check.
      com.google.protobuf.ByteString getHostBytes()
      Host header to send when performing a HTTP Liveness check.
      com.google.protobuf.Duration getInitialDelay()
      The initial delay before starting to execute the checks.
      com.google.protobuf.DurationOrBuilder getInitialDelayOrBuilder()
      The initial delay before starting to execute the checks.
      String getPath()
      The request path.
      com.google.protobuf.ByteString getPathBytes()
      The request path.
      int getSuccessThreshold()
      Number of consecutive successful checks required before considering the VM healthy.
      com.google.protobuf.Duration getTimeout()
      Time before the check is considered failed.
      com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
      Time before the check is considered failed.
      boolean hasCheckInterval()
      Interval between health checks.
      boolean hasInitialDelay()
      The initial delay before starting to execute the checks.
      boolean hasTimeout()
      Time before the check is considered failed.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getPath

        String getPath()
         The request path.
         
        string path = 1;
        Returns:
        The path.
      • getPathBytes

        com.google.protobuf.ByteString getPathBytes()
         The request path.
         
        string path = 1;
        Returns:
        The bytes for path.
      • getHost

        String getHost()
         Host header to send when performing a HTTP Liveness check.
         Example: "myapp.appspot.com"
         
        string host = 2;
        Returns:
        The host.
      • getHostBytes

        com.google.protobuf.ByteString getHostBytes()
         Host header to send when performing a HTTP Liveness check.
         Example: "myapp.appspot.com"
         
        string host = 2;
        Returns:
        The bytes for host.
      • getFailureThreshold

        int getFailureThreshold()
         Number of consecutive failed checks required before considering the
         VM unhealthy.
         
        uint32 failure_threshold = 3;
        Returns:
        The failureThreshold.
      • getSuccessThreshold

        int getSuccessThreshold()
         Number of consecutive successful checks required before considering
         the VM healthy.
         
        uint32 success_threshold = 4;
        Returns:
        The successThreshold.
      • hasCheckInterval

        boolean hasCheckInterval()
         Interval between health checks.
         
        .google.protobuf.Duration check_interval = 5;
        Returns:
        Whether the checkInterval field is set.
      • getCheckInterval

        com.google.protobuf.Duration getCheckInterval()
         Interval between health checks.
         
        .google.protobuf.Duration check_interval = 5;
        Returns:
        The checkInterval.
      • getCheckIntervalOrBuilder

        com.google.protobuf.DurationOrBuilder getCheckIntervalOrBuilder()
         Interval between health checks.
         
        .google.protobuf.Duration check_interval = 5;
      • hasTimeout

        boolean hasTimeout()
         Time before the check is considered failed.
         
        .google.protobuf.Duration timeout = 6;
        Returns:
        Whether the timeout field is set.
      • getTimeout

        com.google.protobuf.Duration getTimeout()
         Time before the check is considered failed.
         
        .google.protobuf.Duration timeout = 6;
        Returns:
        The timeout.
      • getTimeoutOrBuilder

        com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
         Time before the check is considered failed.
         
        .google.protobuf.Duration timeout = 6;
      • hasInitialDelay

        boolean hasInitialDelay()
         The initial delay before starting to execute the checks.
         
        .google.protobuf.Duration initial_delay = 7;
        Returns:
        Whether the initialDelay field is set.
      • getInitialDelay

        com.google.protobuf.Duration getInitialDelay()
         The initial delay before starting to execute the checks.
         
        .google.protobuf.Duration initial_delay = 7;
        Returns:
        The initialDelay.
      • getInitialDelayOrBuilder

        com.google.protobuf.DurationOrBuilder getInitialDelayOrBuilder()
         The initial delay before starting to execute the checks.
         
        .google.protobuf.Duration initial_delay = 7;