Interface KillRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    .envoy.extensions.filters.http.kill_request.v3.KillRequest.Direction direction = 3 [(.validate.rules) = { ... }
    int
    .envoy.extensions.filters.http.kill_request.v3.KillRequest.Direction direction = 3 [(.validate.rules) = { ... }
    The name of the kill request header.
    com.google.protobuf.ByteString
    The name of the kill request header.
    The probability that a Kill request will be triggered.
    The probability that a Kill request will be triggered.
    boolean
    The probability that a Kill request will be triggered.

    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 Details

    • hasProbability

      boolean hasProbability()
       The probability that a Kill request will be triggered.
       
      .envoy.type.v3.FractionalPercent probability = 1;
      Returns:
      Whether the probability field is set.
    • getProbability

      FractionalPercent getProbability()
       The probability that a Kill request will be triggered.
       
      .envoy.type.v3.FractionalPercent probability = 1;
      Returns:
      The probability.
    • getProbabilityOrBuilder

      FractionalPercentOrBuilder getProbabilityOrBuilder()
       The probability that a Kill request will be triggered.
       
      .envoy.type.v3.FractionalPercent probability = 1;
    • getKillRequestHeader

      String getKillRequestHeader()
       The name of the kill request header. If this field is not empty, it will override the :ref:`default header <config_http_filters_kill_request_http_header>` name. Otherwise the default header name will be used.
       
      string kill_request_header = 2 [(.validate.rules) = { ... }
      Returns:
      The killRequestHeader.
    • getKillRequestHeaderBytes

      com.google.protobuf.ByteString getKillRequestHeaderBytes()
       The name of the kill request header. If this field is not empty, it will override the :ref:`default header <config_http_filters_kill_request_http_header>` name. Otherwise the default header name will be used.
       
      string kill_request_header = 2 [(.validate.rules) = { ... }
      Returns:
      The bytes for killRequestHeader.
    • getDirectionValue

      int getDirectionValue()
      .envoy.extensions.filters.http.kill_request.v3.KillRequest.Direction direction = 3 [(.validate.rules) = { ... }
      Returns:
      The enum numeric value on the wire for direction.
    • getDirection

      KillRequest.Direction getDirection()
      .envoy.extensions.filters.http.kill_request.v3.KillRequest.Direction direction = 3 [(.validate.rules) = { ... }
      Returns:
      The direction.