public static final class CommonResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CommonResponse.Builder> implements CommonResponseOrBuilder
This message contains common fields between header and body responses. [#next-free-field: 6]Protobuf type
envoy.service.ext_proc.v3alpha.CommonResponse| Modifier and Type | Method and Description |
|---|---|
CommonResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CommonResponse |
build() |
CommonResponse |
buildPartial() |
CommonResponse.Builder |
clear() |
CommonResponse.Builder |
clearBodyMutation()
Replace the body of the last message sent to the remote server on this
stream.
|
CommonResponse.Builder |
clearClearRouteCache()
Clear the route cache for the current request.
|
CommonResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CommonResponse.Builder |
clearHeaderMutation()
Instructions on how to manipulate the headers.
|
CommonResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CommonResponse.Builder |
clearStatus()
If set, provide additional direction on how the Envoy proxy should
handle the rest of the HTTP filter chain.
|
CommonResponse.Builder |
clearTrailers()
Add new trailers to the message.
|
CommonResponse.Builder |
clone() |
BodyMutation |
getBodyMutation()
Replace the body of the last message sent to the remote server on this
stream.
|
BodyMutation.Builder |
getBodyMutationBuilder()
Replace the body of the last message sent to the remote server on this
stream.
|
BodyMutationOrBuilder |
getBodyMutationOrBuilder()
Replace the body of the last message sent to the remote server on this
stream.
|
boolean |
getClearRouteCache()
Clear the route cache for the current request.
|
CommonResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
HeaderMutation |
getHeaderMutation()
Instructions on how to manipulate the headers.
|
HeaderMutation.Builder |
getHeaderMutationBuilder()
Instructions on how to manipulate the headers.
|
HeaderMutationOrBuilder |
getHeaderMutationOrBuilder()
Instructions on how to manipulate the headers.
|
CommonResponse.ResponseStatus |
getStatus()
If set, provide additional direction on how the Envoy proxy should
handle the rest of the HTTP filter chain.
|
int |
getStatusValue()
If set, provide additional direction on how the Envoy proxy should
handle the rest of the HTTP filter chain.
|
HeaderMap |
getTrailers()
Add new trailers to the message.
|
HeaderMap.Builder |
getTrailersBuilder()
Add new trailers to the message.
|
HeaderMapOrBuilder |
getTrailersOrBuilder()
Add new trailers to the message.
|
boolean |
hasBodyMutation()
Replace the body of the last message sent to the remote server on this
stream.
|
boolean |
hasHeaderMutation()
Instructions on how to manipulate the headers.
|
boolean |
hasTrailers()
Add new trailers to the message.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CommonResponse.Builder |
mergeBodyMutation(BodyMutation value)
Replace the body of the last message sent to the remote server on this
stream.
|
CommonResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CommonResponse.Builder |
mergeFrom(CommonResponse other) |
CommonResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
CommonResponse.Builder |
mergeHeaderMutation(HeaderMutation value)
Instructions on how to manipulate the headers.
|
CommonResponse.Builder |
mergeTrailers(HeaderMap value)
Add new trailers to the message.
|
CommonResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CommonResponse.Builder |
setBodyMutation(BodyMutation.Builder builderForValue)
Replace the body of the last message sent to the remote server on this
stream.
|
CommonResponse.Builder |
setBodyMutation(BodyMutation value)
Replace the body of the last message sent to the remote server on this
stream.
|
CommonResponse.Builder |
setClearRouteCache(boolean value)
Clear the route cache for the current request.
|
CommonResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CommonResponse.Builder |
setHeaderMutation(HeaderMutation.Builder builderForValue)
Instructions on how to manipulate the headers.
|
CommonResponse.Builder |
setHeaderMutation(HeaderMutation value)
Instructions on how to manipulate the headers.
|
CommonResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CommonResponse.Builder |
setStatus(CommonResponse.ResponseStatus value)
If set, provide additional direction on how the Envoy proxy should
handle the rest of the HTTP filter chain.
|
CommonResponse.Builder |
setStatusValue(int value)
If set, provide additional direction on how the Envoy proxy should
handle the rest of the HTTP filter chain.
|
CommonResponse.Builder |
setTrailers(HeaderMap.Builder builderForValue)
Add new trailers to the message.
|
CommonResponse.Builder |
setTrailers(HeaderMap value)
Add new trailers to the message.
|
CommonResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CommonResponse.Builder>public CommonResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CommonResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CommonResponse.Builder>public CommonResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CommonResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CommonResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CommonResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CommonResponse.Builder>public CommonResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CommonResponse.Builder>public CommonResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CommonResponse.Builder>public CommonResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CommonResponse.Builder>public CommonResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CommonResponse.Builder>public CommonResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CommonResponse.Builder>public CommonResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CommonResponse.Builder>public CommonResponse.Builder mergeFrom(CommonResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CommonResponse.Builder>public CommonResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CommonResponse.Builder>IOExceptionpublic int getStatusValue()
If set, provide additional direction on how the Envoy proxy should handle the rest of the HTTP filter chain.
.envoy.service.ext_proc.v3alpha.CommonResponse.ResponseStatus status = 1 [(.validate.rules) = { ... }getStatusValue in interface CommonResponseOrBuilderpublic CommonResponse.Builder setStatusValue(int value)
If set, provide additional direction on how the Envoy proxy should handle the rest of the HTTP filter chain.
.envoy.service.ext_proc.v3alpha.CommonResponse.ResponseStatus status = 1 [(.validate.rules) = { ... }public CommonResponse.ResponseStatus getStatus()
If set, provide additional direction on how the Envoy proxy should handle the rest of the HTTP filter chain.
.envoy.service.ext_proc.v3alpha.CommonResponse.ResponseStatus status = 1 [(.validate.rules) = { ... }getStatus in interface CommonResponseOrBuilderpublic CommonResponse.Builder setStatus(CommonResponse.ResponseStatus value)
If set, provide additional direction on how the Envoy proxy should handle the rest of the HTTP filter chain.
.envoy.service.ext_proc.v3alpha.CommonResponse.ResponseStatus status = 1 [(.validate.rules) = { ... }public CommonResponse.Builder clearStatus()
If set, provide additional direction on how the Envoy proxy should handle the rest of the HTTP filter chain.
.envoy.service.ext_proc.v3alpha.CommonResponse.ResponseStatus status = 1 [(.validate.rules) = { ... }public boolean hasHeaderMutation()
Instructions on how to manipulate the headers. When responding to an HttpBody request, header mutations will only take effect if the headers were not already sent further on the filter chain, which happens only if the current processing mode for the body is BUFFERED or BUFFERED_PARTIAL.
.envoy.service.ext_proc.v3alpha.HeaderMutation header_mutation = 2;hasHeaderMutation in interface CommonResponseOrBuilderpublic HeaderMutation getHeaderMutation()
Instructions on how to manipulate the headers. When responding to an HttpBody request, header mutations will only take effect if the headers were not already sent further on the filter chain, which happens only if the current processing mode for the body is BUFFERED or BUFFERED_PARTIAL.
.envoy.service.ext_proc.v3alpha.HeaderMutation header_mutation = 2;getHeaderMutation in interface CommonResponseOrBuilderpublic CommonResponse.Builder setHeaderMutation(HeaderMutation value)
Instructions on how to manipulate the headers. When responding to an HttpBody request, header mutations will only take effect if the headers were not already sent further on the filter chain, which happens only if the current processing mode for the body is BUFFERED or BUFFERED_PARTIAL.
.envoy.service.ext_proc.v3alpha.HeaderMutation header_mutation = 2;public CommonResponse.Builder setHeaderMutation(HeaderMutation.Builder builderForValue)
Instructions on how to manipulate the headers. When responding to an HttpBody request, header mutations will only take effect if the headers were not already sent further on the filter chain, which happens only if the current processing mode for the body is BUFFERED or BUFFERED_PARTIAL.
.envoy.service.ext_proc.v3alpha.HeaderMutation header_mutation = 2;public CommonResponse.Builder mergeHeaderMutation(HeaderMutation value)
Instructions on how to manipulate the headers. When responding to an HttpBody request, header mutations will only take effect if the headers were not already sent further on the filter chain, which happens only if the current processing mode for the body is BUFFERED or BUFFERED_PARTIAL.
.envoy.service.ext_proc.v3alpha.HeaderMutation header_mutation = 2;public CommonResponse.Builder clearHeaderMutation()
Instructions on how to manipulate the headers. When responding to an HttpBody request, header mutations will only take effect if the headers were not already sent further on the filter chain, which happens only if the current processing mode for the body is BUFFERED or BUFFERED_PARTIAL.
.envoy.service.ext_proc.v3alpha.HeaderMutation header_mutation = 2;public HeaderMutation.Builder getHeaderMutationBuilder()
Instructions on how to manipulate the headers. When responding to an HttpBody request, header mutations will only take effect if the headers were not already sent further on the filter chain, which happens only if the current processing mode for the body is BUFFERED or BUFFERED_PARTIAL.
.envoy.service.ext_proc.v3alpha.HeaderMutation header_mutation = 2;public HeaderMutationOrBuilder getHeaderMutationOrBuilder()
Instructions on how to manipulate the headers. When responding to an HttpBody request, header mutations will only take effect if the headers were not already sent further on the filter chain, which happens only if the current processing mode for the body is BUFFERED or BUFFERED_PARTIAL.
.envoy.service.ext_proc.v3alpha.HeaderMutation header_mutation = 2;getHeaderMutationOrBuilder in interface CommonResponseOrBuilderpublic boolean hasBodyMutation()
Replace the body of the last message sent to the remote server on this stream. If responding to an HttpBody request, simply replace or clear the body chunk that was sent with that request. If responding to an HttpHeaders request, then a new body may be added to the request if this message is returned along with the CONTINUE_AND_REPLACE status.
.envoy.service.ext_proc.v3alpha.BodyMutation body_mutation = 3;hasBodyMutation in interface CommonResponseOrBuilderpublic BodyMutation getBodyMutation()
Replace the body of the last message sent to the remote server on this stream. If responding to an HttpBody request, simply replace or clear the body chunk that was sent with that request. If responding to an HttpHeaders request, then a new body may be added to the request if this message is returned along with the CONTINUE_AND_REPLACE status.
.envoy.service.ext_proc.v3alpha.BodyMutation body_mutation = 3;getBodyMutation in interface CommonResponseOrBuilderpublic CommonResponse.Builder setBodyMutation(BodyMutation value)
Replace the body of the last message sent to the remote server on this stream. If responding to an HttpBody request, simply replace or clear the body chunk that was sent with that request. If responding to an HttpHeaders request, then a new body may be added to the request if this message is returned along with the CONTINUE_AND_REPLACE status.
.envoy.service.ext_proc.v3alpha.BodyMutation body_mutation = 3;public CommonResponse.Builder setBodyMutation(BodyMutation.Builder builderForValue)
Replace the body of the last message sent to the remote server on this stream. If responding to an HttpBody request, simply replace or clear the body chunk that was sent with that request. If responding to an HttpHeaders request, then a new body may be added to the request if this message is returned along with the CONTINUE_AND_REPLACE status.
.envoy.service.ext_proc.v3alpha.BodyMutation body_mutation = 3;public CommonResponse.Builder mergeBodyMutation(BodyMutation value)
Replace the body of the last message sent to the remote server on this stream. If responding to an HttpBody request, simply replace or clear the body chunk that was sent with that request. If responding to an HttpHeaders request, then a new body may be added to the request if this message is returned along with the CONTINUE_AND_REPLACE status.
.envoy.service.ext_proc.v3alpha.BodyMutation body_mutation = 3;public CommonResponse.Builder clearBodyMutation()
Replace the body of the last message sent to the remote server on this stream. If responding to an HttpBody request, simply replace or clear the body chunk that was sent with that request. If responding to an HttpHeaders request, then a new body may be added to the request if this message is returned along with the CONTINUE_AND_REPLACE status.
.envoy.service.ext_proc.v3alpha.BodyMutation body_mutation = 3;public BodyMutation.Builder getBodyMutationBuilder()
Replace the body of the last message sent to the remote server on this stream. If responding to an HttpBody request, simply replace or clear the body chunk that was sent with that request. If responding to an HttpHeaders request, then a new body may be added to the request if this message is returned along with the CONTINUE_AND_REPLACE status.
.envoy.service.ext_proc.v3alpha.BodyMutation body_mutation = 3;public BodyMutationOrBuilder getBodyMutationOrBuilder()
Replace the body of the last message sent to the remote server on this stream. If responding to an HttpBody request, simply replace or clear the body chunk that was sent with that request. If responding to an HttpHeaders request, then a new body may be added to the request if this message is returned along with the CONTINUE_AND_REPLACE status.
.envoy.service.ext_proc.v3alpha.BodyMutation body_mutation = 3;getBodyMutationOrBuilder in interface CommonResponseOrBuilderpublic boolean hasTrailers()
Add new trailers to the message. This may be used when responding to either a HttpHeaders or HttpBody message, but only if this message is returned along with the CONTINUE_AND_REPLACE status.
.envoy.config.core.v3.HeaderMap trailers = 4;hasTrailers in interface CommonResponseOrBuilderpublic HeaderMap getTrailers()
Add new trailers to the message. This may be used when responding to either a HttpHeaders or HttpBody message, but only if this message is returned along with the CONTINUE_AND_REPLACE status.
.envoy.config.core.v3.HeaderMap trailers = 4;getTrailers in interface CommonResponseOrBuilderpublic CommonResponse.Builder setTrailers(HeaderMap value)
Add new trailers to the message. This may be used when responding to either a HttpHeaders or HttpBody message, but only if this message is returned along with the CONTINUE_AND_REPLACE status.
.envoy.config.core.v3.HeaderMap trailers = 4;public CommonResponse.Builder setTrailers(HeaderMap.Builder builderForValue)
Add new trailers to the message. This may be used when responding to either a HttpHeaders or HttpBody message, but only if this message is returned along with the CONTINUE_AND_REPLACE status.
.envoy.config.core.v3.HeaderMap trailers = 4;public CommonResponse.Builder mergeTrailers(HeaderMap value)
Add new trailers to the message. This may be used when responding to either a HttpHeaders or HttpBody message, but only if this message is returned along with the CONTINUE_AND_REPLACE status.
.envoy.config.core.v3.HeaderMap trailers = 4;public CommonResponse.Builder clearTrailers()
Add new trailers to the message. This may be used when responding to either a HttpHeaders or HttpBody message, but only if this message is returned along with the CONTINUE_AND_REPLACE status.
.envoy.config.core.v3.HeaderMap trailers = 4;public HeaderMap.Builder getTrailersBuilder()
Add new trailers to the message. This may be used when responding to either a HttpHeaders or HttpBody message, but only if this message is returned along with the CONTINUE_AND_REPLACE status.
.envoy.config.core.v3.HeaderMap trailers = 4;public HeaderMapOrBuilder getTrailersOrBuilder()
Add new trailers to the message. This may be used when responding to either a HttpHeaders or HttpBody message, but only if this message is returned along with the CONTINUE_AND_REPLACE status.
.envoy.config.core.v3.HeaderMap trailers = 4;getTrailersOrBuilder in interface CommonResponseOrBuilderpublic boolean getClearRouteCache()
Clear the route cache for the current request. This is necessary if the remote server modified headers that are used to calculate the route.
bool clear_route_cache = 5;getClearRouteCache in interface CommonResponseOrBuilderpublic CommonResponse.Builder setClearRouteCache(boolean value)
Clear the route cache for the current request. This is necessary if the remote server modified headers that are used to calculate the route.
bool clear_route_cache = 5;public CommonResponse.Builder clearClearRouteCache()
Clear the route cache for the current request. This is necessary if the remote server modified headers that are used to calculate the route.
bool clear_route_cache = 5;public final CommonResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CommonResponse.Builder>public final CommonResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CommonResponse.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.