Interface ImmediateResponseOrBuilder

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

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

    Modifier and Type
    Method
    Description
    com.google.protobuf.ByteString
    The message body to return with the response which is sent using the text/plain content type, or encoded in the grpc-message header.
    A string detailing why this local reply was sent, which may be included in log and debug output (e.g. this populates the %RESPONSE_CODE_DETAILS% command operator field for use in access logging).
    com.google.protobuf.ByteString
    A string detailing why this local reply was sent, which may be included in log and debug output (e.g. this populates the %RESPONSE_CODE_DETAILS% command operator field for use in access logging).
    If set, then include a gRPC status trailer.
    If set, then include a gRPC status trailer.
    Apply changes to the default headers, which will include content-type.
    Apply changes to the default headers, which will include content-type.
    The response code to return.
    The response code to return.
    boolean
    If set, then include a gRPC status trailer.
    boolean
    Apply changes to the default headers, which will include content-type.
    boolean
    The response code to return.

    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

    • hasStatus

      boolean hasStatus()
       The response code to return.
       
      .envoy.type.v3.HttpStatus status = 1 [(.validate.rules) = { ... }
      Returns:
      Whether the status field is set.
    • getStatus

      HttpStatus getStatus()
       The response code to return.
       
      .envoy.type.v3.HttpStatus status = 1 [(.validate.rules) = { ... }
      Returns:
      The status.
    • getStatusOrBuilder

      HttpStatusOrBuilder getStatusOrBuilder()
       The response code to return.
       
      .envoy.type.v3.HttpStatus status = 1 [(.validate.rules) = { ... }
    • hasHeaders

      boolean hasHeaders()
       Apply changes to the default headers, which will include content-type.
       
      .envoy.service.ext_proc.v3.HeaderMutation headers = 2;
      Returns:
      Whether the headers field is set.
    • getHeaders

      HeaderMutation getHeaders()
       Apply changes to the default headers, which will include content-type.
       
      .envoy.service.ext_proc.v3.HeaderMutation headers = 2;
      Returns:
      The headers.
    • getHeadersOrBuilder

      HeaderMutationOrBuilder getHeadersOrBuilder()
       Apply changes to the default headers, which will include content-type.
       
      .envoy.service.ext_proc.v3.HeaderMutation headers = 2;
    • getBody

      com.google.protobuf.ByteString getBody()
       The message body to return with the response which is sent using the
       text/plain content type, or encoded in the grpc-message header.
       
      bytes body = 3;
      Returns:
      The body.
    • hasGrpcStatus

      boolean hasGrpcStatus()
       If set, then include a gRPC status trailer.
       
      .envoy.service.ext_proc.v3.GrpcStatus grpc_status = 4;
      Returns:
      Whether the grpcStatus field is set.
    • getGrpcStatus

      GrpcStatus getGrpcStatus()
       If set, then include a gRPC status trailer.
       
      .envoy.service.ext_proc.v3.GrpcStatus grpc_status = 4;
      Returns:
      The grpcStatus.
    • getGrpcStatusOrBuilder

      GrpcStatusOrBuilder getGrpcStatusOrBuilder()
       If set, then include a gRPC status trailer.
       
      .envoy.service.ext_proc.v3.GrpcStatus grpc_status = 4;
    • getDetails

      String getDetails()
       A string detailing why this local reply was sent, which may be included
       in log and debug output (e.g. this populates the %RESPONSE_CODE_DETAILS%
       command operator field for use in access logging).
       
      string details = 5;
      Returns:
      The details.
    • getDetailsBytes

      com.google.protobuf.ByteString getDetailsBytes()
       A string detailing why this local reply was sent, which may be included
       in log and debug output (e.g. this populates the %RESPONSE_CODE_DETAILS%
       command operator field for use in access logging).
       
      string details = 5;
      Returns:
      The bytes for details.