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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetBody()The message body to return with the response which is sent using the text/plain content type, or encoded in the grpc-message header.com.google.protobuf.ByteStringgetBodyBytes()The message body to return with the response which is sent using the text/plain content type, or encoded in the grpc-message header.StringgetDetails()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.ByteStringgetDetailsBytes()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).GrpcStatusgetGrpcStatus()If set, then include a gRPC status trailer.GrpcStatusOrBuildergetGrpcStatusOrBuilder()If set, then include a gRPC status trailer.HeaderMutationgetHeaders()Apply changes to the default headers, which will include content-type.HeaderMutationOrBuildergetHeadersOrBuilder()Apply changes to the default headers, which will include content-type.HttpStatusgetStatus()The response code to returnHttpStatusOrBuildergetStatusOrBuilder()The response code to returnbooleanhasGrpcStatus()If set, then include a gRPC status trailer.booleanhasHeaders()Apply changes to the default headers, which will include content-type.booleanhasStatus()The response code to return-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
String 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.
string body = 3;- Returns:
- The body.
-
getBodyBytes
com.google.protobuf.ByteString getBodyBytes()
The message body to return with the response which is sent using the text/plain content type, or encoded in the grpc-message header.
string body = 3;- Returns:
- The bytes for 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.
-
-