Interface AdmissionControl.SuccessCriteriaOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AdmissionControl.SuccessCriteria, AdmissionControl.SuccessCriteria.Builder
Enclosing class:
AdmissionControl

public static interface AdmissionControl.SuccessCriteriaOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    GRPC status codes to consider as request successes.
    GRPC status codes to consider as request successes.
    If HTTP criteria are unspecified, all HTTP status codes below 500 are treated as successful responses. .. note:: The default HTTP codes considered successful by the admission controller are done so due to the unlikelihood that sending fewer requests would change their behavior (for example: redirects, unauthorized access, or bad requests won't be alleviated by sending less traffic).
    If HTTP criteria are unspecified, all HTTP status codes below 500 are treated as successful responses. .. note:: The default HTTP codes considered successful by the admission controller are done so due to the unlikelihood that sending fewer requests would change their behavior (for example: redirects, unauthorized access, or bad requests won't be alleviated by sending less traffic).
    boolean
    GRPC status codes to consider as request successes.
    boolean
    If HTTP criteria are unspecified, all HTTP status codes below 500 are treated as successful responses. .. note:: The default HTTP codes considered successful by the admission controller are done so due to the unlikelihood that sending fewer requests would change their behavior (for example: redirects, unauthorized access, or bad requests won't be alleviated by sending less traffic).

    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

    • hasHttpCriteria

      boolean hasHttpCriteria()
       If HTTP criteria are unspecified, all HTTP status codes below 500 are treated as successful
       responses.
      
       .. note::
      
          The default HTTP codes considered successful by the admission controller are done so due
          to the unlikelihood that sending fewer requests would change their behavior (for example:
          redirects, unauthorized access, or bad requests won't be alleviated by sending less
          traffic).
       
      .envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria.HttpCriteria http_criteria = 1;
      Returns:
      Whether the httpCriteria field is set.
    • getHttpCriteria

       If HTTP criteria are unspecified, all HTTP status codes below 500 are treated as successful
       responses.
      
       .. note::
      
          The default HTTP codes considered successful by the admission controller are done so due
          to the unlikelihood that sending fewer requests would change their behavior (for example:
          redirects, unauthorized access, or bad requests won't be alleviated by sending less
          traffic).
       
      .envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria.HttpCriteria http_criteria = 1;
      Returns:
      The httpCriteria.
    • getHttpCriteriaOrBuilder

       If HTTP criteria are unspecified, all HTTP status codes below 500 are treated as successful
       responses.
      
       .. note::
      
          The default HTTP codes considered successful by the admission controller are done so due
          to the unlikelihood that sending fewer requests would change their behavior (for example:
          redirects, unauthorized access, or bad requests won't be alleviated by sending less
          traffic).
       
      .envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria.HttpCriteria http_criteria = 1;
    • hasGrpcCriteria

      boolean hasGrpcCriteria()
       GRPC status codes to consider as request successes. If unspecified, defaults to: Ok,
       Cancelled, Unknown, InvalidArgument, NotFound, AlreadyExists, Unauthenticated,
       FailedPrecondition, OutOfRange, PermissionDenied, and Unimplemented.
      
       .. note::
      
          The default gRPC codes that are considered successful by the admission controller are
          chosen because of the unlikelihood that sending fewer requests will change the behavior.
       
      .envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria.GrpcCriteria grpc_criteria = 2;
      Returns:
      Whether the grpcCriteria field is set.
    • getGrpcCriteria

       GRPC status codes to consider as request successes. If unspecified, defaults to: Ok,
       Cancelled, Unknown, InvalidArgument, NotFound, AlreadyExists, Unauthenticated,
       FailedPrecondition, OutOfRange, PermissionDenied, and Unimplemented.
      
       .. note::
      
          The default gRPC codes that are considered successful by the admission controller are
          chosen because of the unlikelihood that sending fewer requests will change the behavior.
       
      .envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria.GrpcCriteria grpc_criteria = 2;
      Returns:
      The grpcCriteria.
    • getGrpcCriteriaOrBuilder

       GRPC status codes to consider as request successes. If unspecified, defaults to: Ok,
       Cancelled, Unknown, InvalidArgument, NotFound, AlreadyExists, Unauthenticated,
       FailedPrecondition, OutOfRange, PermissionDenied, and Unimplemented.
      
       .. note::
      
          The default gRPC codes that are considered successful by the admission controller are
          chosen because of the unlikelihood that sending fewer requests will change the behavior.
       
      .envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria.GrpcCriteria grpc_criteria = 2;