
io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/service/ext_proc/v3/external_processor.proto
// Protobuf Java Version: 3.25.1
package io.envoyproxy.envoy.service.ext_proc.v3;
/**
*
* For every ProcessingRequest received by the server with the ``observability_mode`` field
* set to false, the server must send back exactly one ProcessingResponse message.
* [#next-free-field: 11]
*
*
* Protobuf type {@code envoy.service.ext_proc.v3.ProcessingResponse}
*/
public final class ProcessingResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:envoy.service.ext_proc.v3.ProcessingResponse)
ProcessingResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use ProcessingResponse.newBuilder() to construct.
private ProcessingResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ProcessingResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ProcessingResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.envoyproxy.envoy.service.ext_proc.v3.ExternalProcessorProto.internal_static_envoy_service_ext_proc_v3_ProcessingResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.envoyproxy.envoy.service.ext_proc.v3.ExternalProcessorProto.internal_static_envoy_service_ext_proc_v3_ProcessingResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse.class, io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse.Builder.class);
}
private int bitField0_;
private int responseCase_ = 0;
@SuppressWarnings("serial")
private java.lang.Object response_;
public enum ResponseCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
REQUEST_HEADERS(1),
RESPONSE_HEADERS(2),
REQUEST_BODY(3),
RESPONSE_BODY(4),
REQUEST_TRAILERS(5),
RESPONSE_TRAILERS(6),
IMMEDIATE_RESPONSE(7),
RESPONSE_NOT_SET(0);
private final int value;
private ResponseCase(int value) {
this.value = value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ResponseCase valueOf(int value) {
return forNumber(value);
}
public static ResponseCase forNumber(int value) {
switch (value) {
case 1: return REQUEST_HEADERS;
case 2: return RESPONSE_HEADERS;
case 3: return REQUEST_BODY;
case 4: return RESPONSE_BODY;
case 5: return REQUEST_TRAILERS;
case 6: return RESPONSE_TRAILERS;
case 7: return IMMEDIATE_RESPONSE;
case 0: return RESPONSE_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public ResponseCase
getResponseCase() {
return ResponseCase.forNumber(
responseCase_);
}
public static final int REQUEST_HEADERS_FIELD_NUMBER = 1;
/**
*
* The server must send back this message in response to a message with the
* ``request_headers`` field set.
*
*
* .envoy.service.ext_proc.v3.HeadersResponse request_headers = 1;
* @return Whether the requestHeaders field is set.
*/
@java.lang.Override
public boolean hasRequestHeaders() {
return responseCase_ == 1;
}
/**
*
* The server must send back this message in response to a message with the
* ``request_headers`` field set.
*
*
* .envoy.service.ext_proc.v3.HeadersResponse request_headers = 1;
* @return The requestHeaders.
*/
@java.lang.Override
public io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse getRequestHeaders() {
if (responseCase_ == 1) {
return (io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse) response_;
}
return io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse.getDefaultInstance();
}
/**
*
* The server must send back this message in response to a message with the
* ``request_headers`` field set.
*
*
* .envoy.service.ext_proc.v3.HeadersResponse request_headers = 1;
*/
@java.lang.Override
public io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponseOrBuilder getRequestHeadersOrBuilder() {
if (responseCase_ == 1) {
return (io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse) response_;
}
return io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse.getDefaultInstance();
}
public static final int RESPONSE_HEADERS_FIELD_NUMBER = 2;
/**
*
* The server must send back this message in response to a message with the
* ``response_headers`` field set.
*
*
* .envoy.service.ext_proc.v3.HeadersResponse response_headers = 2;
* @return Whether the responseHeaders field is set.
*/
@java.lang.Override
public boolean hasResponseHeaders() {
return responseCase_ == 2;
}
/**
*
* The server must send back this message in response to a message with the
* ``response_headers`` field set.
*
*
* .envoy.service.ext_proc.v3.HeadersResponse response_headers = 2;
* @return The responseHeaders.
*/
@java.lang.Override
public io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse getResponseHeaders() {
if (responseCase_ == 2) {
return (io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse) response_;
}
return io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse.getDefaultInstance();
}
/**
*
* The server must send back this message in response to a message with the
* ``response_headers`` field set.
*
*
* .envoy.service.ext_proc.v3.HeadersResponse response_headers = 2;
*/
@java.lang.Override
public io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponseOrBuilder getResponseHeadersOrBuilder() {
if (responseCase_ == 2) {
return (io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse) response_;
}
return io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse.getDefaultInstance();
}
public static final int REQUEST_BODY_FIELD_NUMBER = 3;
/**
*
* The server must send back this message in response to a message with
* the ``request_body`` field set.
*
*
* .envoy.service.ext_proc.v3.BodyResponse request_body = 3;
* @return Whether the requestBody field is set.
*/
@java.lang.Override
public boolean hasRequestBody() {
return responseCase_ == 3;
}
/**
*
* The server must send back this message in response to a message with
* the ``request_body`` field set.
*
*
* .envoy.service.ext_proc.v3.BodyResponse request_body = 3;
* @return The requestBody.
*/
@java.lang.Override
public io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse getRequestBody() {
if (responseCase_ == 3) {
return (io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse) response_;
}
return io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse.getDefaultInstance();
}
/**
*
* The server must send back this message in response to a message with
* the ``request_body`` field set.
*
*
* .envoy.service.ext_proc.v3.BodyResponse request_body = 3;
*/
@java.lang.Override
public io.envoyproxy.envoy.service.ext_proc.v3.BodyResponseOrBuilder getRequestBodyOrBuilder() {
if (responseCase_ == 3) {
return (io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse) response_;
}
return io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse.getDefaultInstance();
}
public static final int RESPONSE_BODY_FIELD_NUMBER = 4;
/**
*
* The server must send back this message in response to a message with
* the ``response_body`` field set.
*
*
* .envoy.service.ext_proc.v3.BodyResponse response_body = 4;
* @return Whether the responseBody field is set.
*/
@java.lang.Override
public boolean hasResponseBody() {
return responseCase_ == 4;
}
/**
*
* The server must send back this message in response to a message with
* the ``response_body`` field set.
*
*
* .envoy.service.ext_proc.v3.BodyResponse response_body = 4;
* @return The responseBody.
*/
@java.lang.Override
public io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse getResponseBody() {
if (responseCase_ == 4) {
return (io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse) response_;
}
return io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse.getDefaultInstance();
}
/**
*
* The server must send back this message in response to a message with
* the ``response_body`` field set.
*
*
* .envoy.service.ext_proc.v3.BodyResponse response_body = 4;
*/
@java.lang.Override
public io.envoyproxy.envoy.service.ext_proc.v3.BodyResponseOrBuilder getResponseBodyOrBuilder() {
if (responseCase_ == 4) {
return (io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse) response_;
}
return io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse.getDefaultInstance();
}
public static final int REQUEST_TRAILERS_FIELD_NUMBER = 5;
/**
*
* The server must send back this message in response to a message with
* the ``request_trailers`` field set.
*
*
* .envoy.service.ext_proc.v3.TrailersResponse request_trailers = 5;
* @return Whether the requestTrailers field is set.
*/
@java.lang.Override
public boolean hasRequestTrailers() {
return responseCase_ == 5;
}
/**
*
* The server must send back this message in response to a message with
* the ``request_trailers`` field set.
*
*
* .envoy.service.ext_proc.v3.TrailersResponse request_trailers = 5;
* @return The requestTrailers.
*/
@java.lang.Override
public io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse getRequestTrailers() {
if (responseCase_ == 5) {
return (io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse) response_;
}
return io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse.getDefaultInstance();
}
/**
*
* The server must send back this message in response to a message with
* the ``request_trailers`` field set.
*
*
* .envoy.service.ext_proc.v3.TrailersResponse request_trailers = 5;
*/
@java.lang.Override
public io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponseOrBuilder getRequestTrailersOrBuilder() {
if (responseCase_ == 5) {
return (io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse) response_;
}
return io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse.getDefaultInstance();
}
public static final int RESPONSE_TRAILERS_FIELD_NUMBER = 6;
/**
*
* The server must send back this message in response to a message with
* the ``response_trailers`` field set.
*
*
* .envoy.service.ext_proc.v3.TrailersResponse response_trailers = 6;
* @return Whether the responseTrailers field is set.
*/
@java.lang.Override
public boolean hasResponseTrailers() {
return responseCase_ == 6;
}
/**
*
* The server must send back this message in response to a message with
* the ``response_trailers`` field set.
*
*
* .envoy.service.ext_proc.v3.TrailersResponse response_trailers = 6;
* @return The responseTrailers.
*/
@java.lang.Override
public io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse getResponseTrailers() {
if (responseCase_ == 6) {
return (io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse) response_;
}
return io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse.getDefaultInstance();
}
/**
*
* The server must send back this message in response to a message with
* the ``response_trailers`` field set.
*
*
* .envoy.service.ext_proc.v3.TrailersResponse response_trailers = 6;
*/
@java.lang.Override
public io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponseOrBuilder getResponseTrailersOrBuilder() {
if (responseCase_ == 6) {
return (io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse) response_;
}
return io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse.getDefaultInstance();
}
public static final int IMMEDIATE_RESPONSE_FIELD_NUMBER = 7;
/**
*
* If specified, attempt to create a locally generated response, send it
* downstream, and stop processing additional filters and ignore any
* additional messages received from the remote server for this request or
* response. If a response has already started -- for example, if this
* message is sent response to a ``response_body`` message -- then
* this will either ship the reply directly to the downstream codec,
* or reset the stream.
*
*
* .envoy.service.ext_proc.v3.ImmediateResponse immediate_response = 7;
* @return Whether the immediateResponse field is set.
*/
@java.lang.Override
public boolean hasImmediateResponse() {
return responseCase_ == 7;
}
/**
*
* If specified, attempt to create a locally generated response, send it
* downstream, and stop processing additional filters and ignore any
* additional messages received from the remote server for this request or
* response. If a response has already started -- for example, if this
* message is sent response to a ``response_body`` message -- then
* this will either ship the reply directly to the downstream codec,
* or reset the stream.
*
*
* .envoy.service.ext_proc.v3.ImmediateResponse immediate_response = 7;
* @return The immediateResponse.
*/
@java.lang.Override
public io.envoyproxy.envoy.service.ext_proc.v3.ImmediateResponse getImmediateResponse() {
if (responseCase_ == 7) {
return (io.envoyproxy.envoy.service.ext_proc.v3.ImmediateResponse) response_;
}
return io.envoyproxy.envoy.service.ext_proc.v3.ImmediateResponse.getDefaultInstance();
}
/**
*
* If specified, attempt to create a locally generated response, send it
* downstream, and stop processing additional filters and ignore any
* additional messages received from the remote server for this request or
* response. If a response has already started -- for example, if this
* message is sent response to a ``response_body`` message -- then
* this will either ship the reply directly to the downstream codec,
* or reset the stream.
*
*
* .envoy.service.ext_proc.v3.ImmediateResponse immediate_response = 7;
*/
@java.lang.Override
public io.envoyproxy.envoy.service.ext_proc.v3.ImmediateResponseOrBuilder getImmediateResponseOrBuilder() {
if (responseCase_ == 7) {
return (io.envoyproxy.envoy.service.ext_proc.v3.ImmediateResponse) response_;
}
return io.envoyproxy.envoy.service.ext_proc.v3.ImmediateResponse.getDefaultInstance();
}
public static final int DYNAMIC_METADATA_FIELD_NUMBER = 8;
private com.google.protobuf.Struct dynamicMetadata_;
/**
*
* Optional metadata that will be emitted as dynamic metadata to be consumed by
* following filters. This metadata will be placed in the namespace(s) specified by the top-level
* field name(s) of the struct.
*
*
* .google.protobuf.Struct dynamic_metadata = 8;
* @return Whether the dynamicMetadata field is set.
*/
@java.lang.Override
public boolean hasDynamicMetadata() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Optional metadata that will be emitted as dynamic metadata to be consumed by
* following filters. This metadata will be placed in the namespace(s) specified by the top-level
* field name(s) of the struct.
*
*
* .google.protobuf.Struct dynamic_metadata = 8;
* @return The dynamicMetadata.
*/
@java.lang.Override
public com.google.protobuf.Struct getDynamicMetadata() {
return dynamicMetadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : dynamicMetadata_;
}
/**
*
* Optional metadata that will be emitted as dynamic metadata to be consumed by
* following filters. This metadata will be placed in the namespace(s) specified by the top-level
* field name(s) of the struct.
*
*
* .google.protobuf.Struct dynamic_metadata = 8;
*/
@java.lang.Override
public com.google.protobuf.StructOrBuilder getDynamicMetadataOrBuilder() {
return dynamicMetadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : dynamicMetadata_;
}
public static final int MODE_OVERRIDE_FIELD_NUMBER = 9;
private io.envoyproxy.envoy.extensions.filters.http.ext_proc.v3.ProcessingMode modeOverride_;
/**
*
* Override how parts of the HTTP request and response are processed
* for the duration of this particular request/response only. Servers
* may use this to intelligently control how requests are processed
* based on the headers and other metadata that they see.
* This field is only applicable when servers responding to the header requests.
* If it is set in the response to the body or trailer requests, it will be ignored by Envoy.
* It is also ignored by Envoy when the ext_proc filter config
* :ref:`allow_mode_override
* <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.allow_mode_override>`
* is set to false.
*
*
* .envoy.extensions.filters.http.ext_proc.v3.ProcessingMode mode_override = 9;
* @return Whether the modeOverride field is set.
*/
@java.lang.Override
public boolean hasModeOverride() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Override how parts of the HTTP request and response are processed
* for the duration of this particular request/response only. Servers
* may use this to intelligently control how requests are processed
* based on the headers and other metadata that they see.
* This field is only applicable when servers responding to the header requests.
* If it is set in the response to the body or trailer requests, it will be ignored by Envoy.
* It is also ignored by Envoy when the ext_proc filter config
* :ref:`allow_mode_override
* <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.allow_mode_override>`
* is set to false.
*
*
* .envoy.extensions.filters.http.ext_proc.v3.ProcessingMode mode_override = 9;
* @return The modeOverride.
*/
@java.lang.Override
public io.envoyproxy.envoy.extensions.filters.http.ext_proc.v3.ProcessingMode getModeOverride() {
return modeOverride_ == null ? io.envoyproxy.envoy.extensions.filters.http.ext_proc.v3.ProcessingMode.getDefaultInstance() : modeOverride_;
}
/**
*
* Override how parts of the HTTP request and response are processed
* for the duration of this particular request/response only. Servers
* may use this to intelligently control how requests are processed
* based on the headers and other metadata that they see.
* This field is only applicable when servers responding to the header requests.
* If it is set in the response to the body or trailer requests, it will be ignored by Envoy.
* It is also ignored by Envoy when the ext_proc filter config
* :ref:`allow_mode_override
* <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.allow_mode_override>`
* is set to false.
*
*
* .envoy.extensions.filters.http.ext_proc.v3.ProcessingMode mode_override = 9;
*/
@java.lang.Override
public io.envoyproxy.envoy.extensions.filters.http.ext_proc.v3.ProcessingModeOrBuilder getModeOverrideOrBuilder() {
return modeOverride_ == null ? io.envoyproxy.envoy.extensions.filters.http.ext_proc.v3.ProcessingMode.getDefaultInstance() : modeOverride_;
}
public static final int OVERRIDE_MESSAGE_TIMEOUT_FIELD_NUMBER = 10;
private com.google.protobuf.Duration overrideMessageTimeout_;
/**
*
* When ext_proc server receives a request message, in case it needs more
* time to process the message, it sends back a ProcessingResponse message
* with a new timeout value. When Envoy receives this response message,
* it ignores other fields in the response, just stop the original timer,
* which has the timeout value specified in
* :ref:`message_timeout
* <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.message_timeout>`
* and start a new timer with this ``override_message_timeout`` value and keep the
* Envoy ext_proc filter state machine intact.
* Has to be >= 1ms and <=
* :ref:`max_message_timeout <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.max_message_timeout>`
* Such message can be sent at most once in a particular Envoy ext_proc filter processing state.
* To enable this API, one has to set ``max_message_timeout`` to a number >= 1ms.
*
*
* .google.protobuf.Duration override_message_timeout = 10;
* @return Whether the overrideMessageTimeout field is set.
*/
@java.lang.Override
public boolean hasOverrideMessageTimeout() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
* When ext_proc server receives a request message, in case it needs more
* time to process the message, it sends back a ProcessingResponse message
* with a new timeout value. When Envoy receives this response message,
* it ignores other fields in the response, just stop the original timer,
* which has the timeout value specified in
* :ref:`message_timeout
* <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.message_timeout>`
* and start a new timer with this ``override_message_timeout`` value and keep the
* Envoy ext_proc filter state machine intact.
* Has to be >= 1ms and <=
* :ref:`max_message_timeout <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.max_message_timeout>`
* Such message can be sent at most once in a particular Envoy ext_proc filter processing state.
* To enable this API, one has to set ``max_message_timeout`` to a number >= 1ms.
*
*
* .google.protobuf.Duration override_message_timeout = 10;
* @return The overrideMessageTimeout.
*/
@java.lang.Override
public com.google.protobuf.Duration getOverrideMessageTimeout() {
return overrideMessageTimeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : overrideMessageTimeout_;
}
/**
*
* When ext_proc server receives a request message, in case it needs more
* time to process the message, it sends back a ProcessingResponse message
* with a new timeout value. When Envoy receives this response message,
* it ignores other fields in the response, just stop the original timer,
* which has the timeout value specified in
* :ref:`message_timeout
* <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.message_timeout>`
* and start a new timer with this ``override_message_timeout`` value and keep the
* Envoy ext_proc filter state machine intact.
* Has to be >= 1ms and <=
* :ref:`max_message_timeout <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.max_message_timeout>`
* Such message can be sent at most once in a particular Envoy ext_proc filter processing state.
* To enable this API, one has to set ``max_message_timeout`` to a number >= 1ms.
*
*
* .google.protobuf.Duration override_message_timeout = 10;
*/
@java.lang.Override
public com.google.protobuf.DurationOrBuilder getOverrideMessageTimeoutOrBuilder() {
return overrideMessageTimeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : overrideMessageTimeout_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (responseCase_ == 1) {
output.writeMessage(1, (io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse) response_);
}
if (responseCase_ == 2) {
output.writeMessage(2, (io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse) response_);
}
if (responseCase_ == 3) {
output.writeMessage(3, (io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse) response_);
}
if (responseCase_ == 4) {
output.writeMessage(4, (io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse) response_);
}
if (responseCase_ == 5) {
output.writeMessage(5, (io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse) response_);
}
if (responseCase_ == 6) {
output.writeMessage(6, (io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse) response_);
}
if (responseCase_ == 7) {
output.writeMessage(7, (io.envoyproxy.envoy.service.ext_proc.v3.ImmediateResponse) response_);
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(8, getDynamicMetadata());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(9, getModeOverride());
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(10, getOverrideMessageTimeout());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (responseCase_ == 1) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, (io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse) response_);
}
if (responseCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse) response_);
}
if (responseCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse) response_);
}
if (responseCase_ == 4) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, (io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse) response_);
}
if (responseCase_ == 5) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, (io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse) response_);
}
if (responseCase_ == 6) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, (io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse) response_);
}
if (responseCase_ == 7) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, (io.envoyproxy.envoy.service.ext_proc.v3.ImmediateResponse) response_);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getDynamicMetadata());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, getModeOverride());
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, getOverrideMessageTimeout());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse)) {
return super.equals(obj);
}
io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse other = (io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse) obj;
if (hasDynamicMetadata() != other.hasDynamicMetadata()) return false;
if (hasDynamicMetadata()) {
if (!getDynamicMetadata()
.equals(other.getDynamicMetadata())) return false;
}
if (hasModeOverride() != other.hasModeOverride()) return false;
if (hasModeOverride()) {
if (!getModeOverride()
.equals(other.getModeOverride())) return false;
}
if (hasOverrideMessageTimeout() != other.hasOverrideMessageTimeout()) return false;
if (hasOverrideMessageTimeout()) {
if (!getOverrideMessageTimeout()
.equals(other.getOverrideMessageTimeout())) return false;
}
if (!getResponseCase().equals(other.getResponseCase())) return false;
switch (responseCase_) {
case 1:
if (!getRequestHeaders()
.equals(other.getRequestHeaders())) return false;
break;
case 2:
if (!getResponseHeaders()
.equals(other.getResponseHeaders())) return false;
break;
case 3:
if (!getRequestBody()
.equals(other.getRequestBody())) return false;
break;
case 4:
if (!getResponseBody()
.equals(other.getResponseBody())) return false;
break;
case 5:
if (!getRequestTrailers()
.equals(other.getRequestTrailers())) return false;
break;
case 6:
if (!getResponseTrailers()
.equals(other.getResponseTrailers())) return false;
break;
case 7:
if (!getImmediateResponse()
.equals(other.getImmediateResponse())) return false;
break;
case 0:
default:
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasDynamicMetadata()) {
hash = (37 * hash) + DYNAMIC_METADATA_FIELD_NUMBER;
hash = (53 * hash) + getDynamicMetadata().hashCode();
}
if (hasModeOverride()) {
hash = (37 * hash) + MODE_OVERRIDE_FIELD_NUMBER;
hash = (53 * hash) + getModeOverride().hashCode();
}
if (hasOverrideMessageTimeout()) {
hash = (37 * hash) + OVERRIDE_MESSAGE_TIMEOUT_FIELD_NUMBER;
hash = (53 * hash) + getOverrideMessageTimeout().hashCode();
}
switch (responseCase_) {
case 1:
hash = (37 * hash) + REQUEST_HEADERS_FIELD_NUMBER;
hash = (53 * hash) + getRequestHeaders().hashCode();
break;
case 2:
hash = (37 * hash) + RESPONSE_HEADERS_FIELD_NUMBER;
hash = (53 * hash) + getResponseHeaders().hashCode();
break;
case 3:
hash = (37 * hash) + REQUEST_BODY_FIELD_NUMBER;
hash = (53 * hash) + getRequestBody().hashCode();
break;
case 4:
hash = (37 * hash) + RESPONSE_BODY_FIELD_NUMBER;
hash = (53 * hash) + getResponseBody().hashCode();
break;
case 5:
hash = (37 * hash) + REQUEST_TRAILERS_FIELD_NUMBER;
hash = (53 * hash) + getRequestTrailers().hashCode();
break;
case 6:
hash = (37 * hash) + RESPONSE_TRAILERS_FIELD_NUMBER;
hash = (53 * hash) + getResponseTrailers().hashCode();
break;
case 7:
hash = (37 * hash) + IMMEDIATE_RESPONSE_FIELD_NUMBER;
hash = (53 * hash) + getImmediateResponse().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* For every ProcessingRequest received by the server with the ``observability_mode`` field
* set to false, the server must send back exactly one ProcessingResponse message.
* [#next-free-field: 11]
*
*
* Protobuf type {@code envoy.service.ext_proc.v3.ProcessingResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:envoy.service.ext_proc.v3.ProcessingResponse)
io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.envoyproxy.envoy.service.ext_proc.v3.ExternalProcessorProto.internal_static_envoy_service_ext_proc_v3_ProcessingResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.envoyproxy.envoy.service.ext_proc.v3.ExternalProcessorProto.internal_static_envoy_service_ext_proc_v3_ProcessingResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse.class, io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse.Builder.class);
}
// Construct using io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getDynamicMetadataFieldBuilder();
getModeOverrideFieldBuilder();
getOverrideMessageTimeoutFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (requestHeadersBuilder_ != null) {
requestHeadersBuilder_.clear();
}
if (responseHeadersBuilder_ != null) {
responseHeadersBuilder_.clear();
}
if (requestBodyBuilder_ != null) {
requestBodyBuilder_.clear();
}
if (responseBodyBuilder_ != null) {
responseBodyBuilder_.clear();
}
if (requestTrailersBuilder_ != null) {
requestTrailersBuilder_.clear();
}
if (responseTrailersBuilder_ != null) {
responseTrailersBuilder_.clear();
}
if (immediateResponseBuilder_ != null) {
immediateResponseBuilder_.clear();
}
dynamicMetadata_ = null;
if (dynamicMetadataBuilder_ != null) {
dynamicMetadataBuilder_.dispose();
dynamicMetadataBuilder_ = null;
}
modeOverride_ = null;
if (modeOverrideBuilder_ != null) {
modeOverrideBuilder_.dispose();
modeOverrideBuilder_ = null;
}
overrideMessageTimeout_ = null;
if (overrideMessageTimeoutBuilder_ != null) {
overrideMessageTimeoutBuilder_.dispose();
overrideMessageTimeoutBuilder_ = null;
}
responseCase_ = 0;
response_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.envoyproxy.envoy.service.ext_proc.v3.ExternalProcessorProto.internal_static_envoy_service_ext_proc_v3_ProcessingResponse_descriptor;
}
@java.lang.Override
public io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse getDefaultInstanceForType() {
return io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse.getDefaultInstance();
}
@java.lang.Override
public io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse build() {
io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse buildPartial() {
io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse result = new io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
buildPartialOneofs(result);
onBuilt();
return result;
}
private void buildPartial0(io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000080) != 0)) {
result.dynamicMetadata_ = dynamicMetadataBuilder_ == null
? dynamicMetadata_
: dynamicMetadataBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.modeOverride_ = modeOverrideBuilder_ == null
? modeOverride_
: modeOverrideBuilder_.build();
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.overrideMessageTimeout_ = overrideMessageTimeoutBuilder_ == null
? overrideMessageTimeout_
: overrideMessageTimeoutBuilder_.build();
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
private void buildPartialOneofs(io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse result) {
result.responseCase_ = responseCase_;
result.response_ = this.response_;
if (responseCase_ == 1 &&
requestHeadersBuilder_ != null) {
result.response_ = requestHeadersBuilder_.build();
}
if (responseCase_ == 2 &&
responseHeadersBuilder_ != null) {
result.response_ = responseHeadersBuilder_.build();
}
if (responseCase_ == 3 &&
requestBodyBuilder_ != null) {
result.response_ = requestBodyBuilder_.build();
}
if (responseCase_ == 4 &&
responseBodyBuilder_ != null) {
result.response_ = responseBodyBuilder_.build();
}
if (responseCase_ == 5 &&
requestTrailersBuilder_ != null) {
result.response_ = requestTrailersBuilder_.build();
}
if (responseCase_ == 6 &&
responseTrailersBuilder_ != null) {
result.response_ = responseTrailersBuilder_.build();
}
if (responseCase_ == 7 &&
immediateResponseBuilder_ != null) {
result.response_ = immediateResponseBuilder_.build();
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse) {
return mergeFrom((io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse other) {
if (other == io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse.getDefaultInstance()) return this;
if (other.hasDynamicMetadata()) {
mergeDynamicMetadata(other.getDynamicMetadata());
}
if (other.hasModeOverride()) {
mergeModeOverride(other.getModeOverride());
}
if (other.hasOverrideMessageTimeout()) {
mergeOverrideMessageTimeout(other.getOverrideMessageTimeout());
}
switch (other.getResponseCase()) {
case REQUEST_HEADERS: {
mergeRequestHeaders(other.getRequestHeaders());
break;
}
case RESPONSE_HEADERS: {
mergeResponseHeaders(other.getResponseHeaders());
break;
}
case REQUEST_BODY: {
mergeRequestBody(other.getRequestBody());
break;
}
case RESPONSE_BODY: {
mergeResponseBody(other.getResponseBody());
break;
}
case REQUEST_TRAILERS: {
mergeRequestTrailers(other.getRequestTrailers());
break;
}
case RESPONSE_TRAILERS: {
mergeResponseTrailers(other.getResponseTrailers());
break;
}
case IMMEDIATE_RESPONSE: {
mergeImmediateResponse(other.getImmediateResponse());
break;
}
case RESPONSE_NOT_SET: {
break;
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getRequestHeadersFieldBuilder().getBuilder(),
extensionRegistry);
responseCase_ = 1;
break;
} // case 10
case 18: {
input.readMessage(
getResponseHeadersFieldBuilder().getBuilder(),
extensionRegistry);
responseCase_ = 2;
break;
} // case 18
case 26: {
input.readMessage(
getRequestBodyFieldBuilder().getBuilder(),
extensionRegistry);
responseCase_ = 3;
break;
} // case 26
case 34: {
input.readMessage(
getResponseBodyFieldBuilder().getBuilder(),
extensionRegistry);
responseCase_ = 4;
break;
} // case 34
case 42: {
input.readMessage(
getRequestTrailersFieldBuilder().getBuilder(),
extensionRegistry);
responseCase_ = 5;
break;
} // case 42
case 50: {
input.readMessage(
getResponseTrailersFieldBuilder().getBuilder(),
extensionRegistry);
responseCase_ = 6;
break;
} // case 50
case 58: {
input.readMessage(
getImmediateResponseFieldBuilder().getBuilder(),
extensionRegistry);
responseCase_ = 7;
break;
} // case 58
case 66: {
input.readMessage(
getDynamicMetadataFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000080;
break;
} // case 66
case 74: {
input.readMessage(
getModeOverrideFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000100;
break;
} // case 74
case 82: {
input.readMessage(
getOverrideMessageTimeoutFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000200;
break;
} // case 82
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int responseCase_ = 0;
private java.lang.Object response_;
public ResponseCase
getResponseCase() {
return ResponseCase.forNumber(
responseCase_);
}
public Builder clearResponse() {
responseCase_ = 0;
response_ = null;
onChanged();
return this;
}
private int bitField0_;
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse, io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse.Builder, io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponseOrBuilder> requestHeadersBuilder_;
/**
*
* The server must send back this message in response to a message with the
* ``request_headers`` field set.
*
*
* .envoy.service.ext_proc.v3.HeadersResponse request_headers = 1;
* @return Whether the requestHeaders field is set.
*/
@java.lang.Override
public boolean hasRequestHeaders() {
return responseCase_ == 1;
}
/**
*
* The server must send back this message in response to a message with the
* ``request_headers`` field set.
*
*
* .envoy.service.ext_proc.v3.HeadersResponse request_headers = 1;
* @return The requestHeaders.
*/
@java.lang.Override
public io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse getRequestHeaders() {
if (requestHeadersBuilder_ == null) {
if (responseCase_ == 1) {
return (io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse) response_;
}
return io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse.getDefaultInstance();
} else {
if (responseCase_ == 1) {
return requestHeadersBuilder_.getMessage();
}
return io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse.getDefaultInstance();
}
}
/**
*
* The server must send back this message in response to a message with the
* ``request_headers`` field set.
*
*
* .envoy.service.ext_proc.v3.HeadersResponse request_headers = 1;
*/
public Builder setRequestHeaders(io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse value) {
if (requestHeadersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
requestHeadersBuilder_.setMessage(value);
}
responseCase_ = 1;
return this;
}
/**
*
* The server must send back this message in response to a message with the
* ``request_headers`` field set.
*
*
* .envoy.service.ext_proc.v3.HeadersResponse request_headers = 1;
*/
public Builder setRequestHeaders(
io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse.Builder builderForValue) {
if (requestHeadersBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
requestHeadersBuilder_.setMessage(builderForValue.build());
}
responseCase_ = 1;
return this;
}
/**
*
* The server must send back this message in response to a message with the
* ``request_headers`` field set.
*
*
* .envoy.service.ext_proc.v3.HeadersResponse request_headers = 1;
*/
public Builder mergeRequestHeaders(io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse value) {
if (requestHeadersBuilder_ == null) {
if (responseCase_ == 1 &&
response_ != io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse.getDefaultInstance()) {
response_ = io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse.newBuilder((io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 1) {
requestHeadersBuilder_.mergeFrom(value);
} else {
requestHeadersBuilder_.setMessage(value);
}
}
responseCase_ = 1;
return this;
}
/**
*
* The server must send back this message in response to a message with the
* ``request_headers`` field set.
*
*
* .envoy.service.ext_proc.v3.HeadersResponse request_headers = 1;
*/
public Builder clearRequestHeaders() {
if (requestHeadersBuilder_ == null) {
if (responseCase_ == 1) {
responseCase_ = 0;
response_ = null;
onChanged();
}
} else {
if (responseCase_ == 1) {
responseCase_ = 0;
response_ = null;
}
requestHeadersBuilder_.clear();
}
return this;
}
/**
*
* The server must send back this message in response to a message with the
* ``request_headers`` field set.
*
*
* .envoy.service.ext_proc.v3.HeadersResponse request_headers = 1;
*/
public io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse.Builder getRequestHeadersBuilder() {
return getRequestHeadersFieldBuilder().getBuilder();
}
/**
*
* The server must send back this message in response to a message with the
* ``request_headers`` field set.
*
*
* .envoy.service.ext_proc.v3.HeadersResponse request_headers = 1;
*/
@java.lang.Override
public io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponseOrBuilder getRequestHeadersOrBuilder() {
if ((responseCase_ == 1) && (requestHeadersBuilder_ != null)) {
return requestHeadersBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 1) {
return (io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse) response_;
}
return io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse.getDefaultInstance();
}
}
/**
*
* The server must send back this message in response to a message with the
* ``request_headers`` field set.
*
*
* .envoy.service.ext_proc.v3.HeadersResponse request_headers = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse, io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse.Builder, io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponseOrBuilder>
getRequestHeadersFieldBuilder() {
if (requestHeadersBuilder_ == null) {
if (!(responseCase_ == 1)) {
response_ = io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse.getDefaultInstance();
}
requestHeadersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse, io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse.Builder, io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponseOrBuilder>(
(io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 1;
onChanged();
return requestHeadersBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse, io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse.Builder, io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponseOrBuilder> responseHeadersBuilder_;
/**
*
* The server must send back this message in response to a message with the
* ``response_headers`` field set.
*
*
* .envoy.service.ext_proc.v3.HeadersResponse response_headers = 2;
* @return Whether the responseHeaders field is set.
*/
@java.lang.Override
public boolean hasResponseHeaders() {
return responseCase_ == 2;
}
/**
*
* The server must send back this message in response to a message with the
* ``response_headers`` field set.
*
*
* .envoy.service.ext_proc.v3.HeadersResponse response_headers = 2;
* @return The responseHeaders.
*/
@java.lang.Override
public io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse getResponseHeaders() {
if (responseHeadersBuilder_ == null) {
if (responseCase_ == 2) {
return (io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse) response_;
}
return io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse.getDefaultInstance();
} else {
if (responseCase_ == 2) {
return responseHeadersBuilder_.getMessage();
}
return io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse.getDefaultInstance();
}
}
/**
*
* The server must send back this message in response to a message with the
* ``response_headers`` field set.
*
*
* .envoy.service.ext_proc.v3.HeadersResponse response_headers = 2;
*/
public Builder setResponseHeaders(io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse value) {
if (responseHeadersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
responseHeadersBuilder_.setMessage(value);
}
responseCase_ = 2;
return this;
}
/**
*
* The server must send back this message in response to a message with the
* ``response_headers`` field set.
*
*
* .envoy.service.ext_proc.v3.HeadersResponse response_headers = 2;
*/
public Builder setResponseHeaders(
io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse.Builder builderForValue) {
if (responseHeadersBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
responseHeadersBuilder_.setMessage(builderForValue.build());
}
responseCase_ = 2;
return this;
}
/**
*
* The server must send back this message in response to a message with the
* ``response_headers`` field set.
*
*
* .envoy.service.ext_proc.v3.HeadersResponse response_headers = 2;
*/
public Builder mergeResponseHeaders(io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse value) {
if (responseHeadersBuilder_ == null) {
if (responseCase_ == 2 &&
response_ != io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse.getDefaultInstance()) {
response_ = io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse.newBuilder((io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 2) {
responseHeadersBuilder_.mergeFrom(value);
} else {
responseHeadersBuilder_.setMessage(value);
}
}
responseCase_ = 2;
return this;
}
/**
*
* The server must send back this message in response to a message with the
* ``response_headers`` field set.
*
*
* .envoy.service.ext_proc.v3.HeadersResponse response_headers = 2;
*/
public Builder clearResponseHeaders() {
if (responseHeadersBuilder_ == null) {
if (responseCase_ == 2) {
responseCase_ = 0;
response_ = null;
onChanged();
}
} else {
if (responseCase_ == 2) {
responseCase_ = 0;
response_ = null;
}
responseHeadersBuilder_.clear();
}
return this;
}
/**
*
* The server must send back this message in response to a message with the
* ``response_headers`` field set.
*
*
* .envoy.service.ext_proc.v3.HeadersResponse response_headers = 2;
*/
public io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse.Builder getResponseHeadersBuilder() {
return getResponseHeadersFieldBuilder().getBuilder();
}
/**
*
* The server must send back this message in response to a message with the
* ``response_headers`` field set.
*
*
* .envoy.service.ext_proc.v3.HeadersResponse response_headers = 2;
*/
@java.lang.Override
public io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponseOrBuilder getResponseHeadersOrBuilder() {
if ((responseCase_ == 2) && (responseHeadersBuilder_ != null)) {
return responseHeadersBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 2) {
return (io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse) response_;
}
return io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse.getDefaultInstance();
}
}
/**
*
* The server must send back this message in response to a message with the
* ``response_headers`` field set.
*
*
* .envoy.service.ext_proc.v3.HeadersResponse response_headers = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse, io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse.Builder, io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponseOrBuilder>
getResponseHeadersFieldBuilder() {
if (responseHeadersBuilder_ == null) {
if (!(responseCase_ == 2)) {
response_ = io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse.getDefaultInstance();
}
responseHeadersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse, io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse.Builder, io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponseOrBuilder>(
(io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 2;
onChanged();
return responseHeadersBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse, io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse.Builder, io.envoyproxy.envoy.service.ext_proc.v3.BodyResponseOrBuilder> requestBodyBuilder_;
/**
*
* The server must send back this message in response to a message with
* the ``request_body`` field set.
*
*
* .envoy.service.ext_proc.v3.BodyResponse request_body = 3;
* @return Whether the requestBody field is set.
*/
@java.lang.Override
public boolean hasRequestBody() {
return responseCase_ == 3;
}
/**
*
* The server must send back this message in response to a message with
* the ``request_body`` field set.
*
*
* .envoy.service.ext_proc.v3.BodyResponse request_body = 3;
* @return The requestBody.
*/
@java.lang.Override
public io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse getRequestBody() {
if (requestBodyBuilder_ == null) {
if (responseCase_ == 3) {
return (io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse) response_;
}
return io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse.getDefaultInstance();
} else {
if (responseCase_ == 3) {
return requestBodyBuilder_.getMessage();
}
return io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse.getDefaultInstance();
}
}
/**
*
* The server must send back this message in response to a message with
* the ``request_body`` field set.
*
*
* .envoy.service.ext_proc.v3.BodyResponse request_body = 3;
*/
public Builder setRequestBody(io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse value) {
if (requestBodyBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
requestBodyBuilder_.setMessage(value);
}
responseCase_ = 3;
return this;
}
/**
*
* The server must send back this message in response to a message with
* the ``request_body`` field set.
*
*
* .envoy.service.ext_proc.v3.BodyResponse request_body = 3;
*/
public Builder setRequestBody(
io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse.Builder builderForValue) {
if (requestBodyBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
requestBodyBuilder_.setMessage(builderForValue.build());
}
responseCase_ = 3;
return this;
}
/**
*
* The server must send back this message in response to a message with
* the ``request_body`` field set.
*
*
* .envoy.service.ext_proc.v3.BodyResponse request_body = 3;
*/
public Builder mergeRequestBody(io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse value) {
if (requestBodyBuilder_ == null) {
if (responseCase_ == 3 &&
response_ != io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse.getDefaultInstance()) {
response_ = io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse.newBuilder((io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 3) {
requestBodyBuilder_.mergeFrom(value);
} else {
requestBodyBuilder_.setMessage(value);
}
}
responseCase_ = 3;
return this;
}
/**
*
* The server must send back this message in response to a message with
* the ``request_body`` field set.
*
*
* .envoy.service.ext_proc.v3.BodyResponse request_body = 3;
*/
public Builder clearRequestBody() {
if (requestBodyBuilder_ == null) {
if (responseCase_ == 3) {
responseCase_ = 0;
response_ = null;
onChanged();
}
} else {
if (responseCase_ == 3) {
responseCase_ = 0;
response_ = null;
}
requestBodyBuilder_.clear();
}
return this;
}
/**
*
* The server must send back this message in response to a message with
* the ``request_body`` field set.
*
*
* .envoy.service.ext_proc.v3.BodyResponse request_body = 3;
*/
public io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse.Builder getRequestBodyBuilder() {
return getRequestBodyFieldBuilder().getBuilder();
}
/**
*
* The server must send back this message in response to a message with
* the ``request_body`` field set.
*
*
* .envoy.service.ext_proc.v3.BodyResponse request_body = 3;
*/
@java.lang.Override
public io.envoyproxy.envoy.service.ext_proc.v3.BodyResponseOrBuilder getRequestBodyOrBuilder() {
if ((responseCase_ == 3) && (requestBodyBuilder_ != null)) {
return requestBodyBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 3) {
return (io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse) response_;
}
return io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse.getDefaultInstance();
}
}
/**
*
* The server must send back this message in response to a message with
* the ``request_body`` field set.
*
*
* .envoy.service.ext_proc.v3.BodyResponse request_body = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse, io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse.Builder, io.envoyproxy.envoy.service.ext_proc.v3.BodyResponseOrBuilder>
getRequestBodyFieldBuilder() {
if (requestBodyBuilder_ == null) {
if (!(responseCase_ == 3)) {
response_ = io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse.getDefaultInstance();
}
requestBodyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse, io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse.Builder, io.envoyproxy.envoy.service.ext_proc.v3.BodyResponseOrBuilder>(
(io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 3;
onChanged();
return requestBodyBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse, io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse.Builder, io.envoyproxy.envoy.service.ext_proc.v3.BodyResponseOrBuilder> responseBodyBuilder_;
/**
*
* The server must send back this message in response to a message with
* the ``response_body`` field set.
*
*
* .envoy.service.ext_proc.v3.BodyResponse response_body = 4;
* @return Whether the responseBody field is set.
*/
@java.lang.Override
public boolean hasResponseBody() {
return responseCase_ == 4;
}
/**
*
* The server must send back this message in response to a message with
* the ``response_body`` field set.
*
*
* .envoy.service.ext_proc.v3.BodyResponse response_body = 4;
* @return The responseBody.
*/
@java.lang.Override
public io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse getResponseBody() {
if (responseBodyBuilder_ == null) {
if (responseCase_ == 4) {
return (io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse) response_;
}
return io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse.getDefaultInstance();
} else {
if (responseCase_ == 4) {
return responseBodyBuilder_.getMessage();
}
return io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse.getDefaultInstance();
}
}
/**
*
* The server must send back this message in response to a message with
* the ``response_body`` field set.
*
*
* .envoy.service.ext_proc.v3.BodyResponse response_body = 4;
*/
public Builder setResponseBody(io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse value) {
if (responseBodyBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
responseBodyBuilder_.setMessage(value);
}
responseCase_ = 4;
return this;
}
/**
*
* The server must send back this message in response to a message with
* the ``response_body`` field set.
*
*
* .envoy.service.ext_proc.v3.BodyResponse response_body = 4;
*/
public Builder setResponseBody(
io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse.Builder builderForValue) {
if (responseBodyBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
responseBodyBuilder_.setMessage(builderForValue.build());
}
responseCase_ = 4;
return this;
}
/**
*
* The server must send back this message in response to a message with
* the ``response_body`` field set.
*
*
* .envoy.service.ext_proc.v3.BodyResponse response_body = 4;
*/
public Builder mergeResponseBody(io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse value) {
if (responseBodyBuilder_ == null) {
if (responseCase_ == 4 &&
response_ != io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse.getDefaultInstance()) {
response_ = io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse.newBuilder((io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 4) {
responseBodyBuilder_.mergeFrom(value);
} else {
responseBodyBuilder_.setMessage(value);
}
}
responseCase_ = 4;
return this;
}
/**
*
* The server must send back this message in response to a message with
* the ``response_body`` field set.
*
*
* .envoy.service.ext_proc.v3.BodyResponse response_body = 4;
*/
public Builder clearResponseBody() {
if (responseBodyBuilder_ == null) {
if (responseCase_ == 4) {
responseCase_ = 0;
response_ = null;
onChanged();
}
} else {
if (responseCase_ == 4) {
responseCase_ = 0;
response_ = null;
}
responseBodyBuilder_.clear();
}
return this;
}
/**
*
* The server must send back this message in response to a message with
* the ``response_body`` field set.
*
*
* .envoy.service.ext_proc.v3.BodyResponse response_body = 4;
*/
public io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse.Builder getResponseBodyBuilder() {
return getResponseBodyFieldBuilder().getBuilder();
}
/**
*
* The server must send back this message in response to a message with
* the ``response_body`` field set.
*
*
* .envoy.service.ext_proc.v3.BodyResponse response_body = 4;
*/
@java.lang.Override
public io.envoyproxy.envoy.service.ext_proc.v3.BodyResponseOrBuilder getResponseBodyOrBuilder() {
if ((responseCase_ == 4) && (responseBodyBuilder_ != null)) {
return responseBodyBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 4) {
return (io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse) response_;
}
return io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse.getDefaultInstance();
}
}
/**
*
* The server must send back this message in response to a message with
* the ``response_body`` field set.
*
*
* .envoy.service.ext_proc.v3.BodyResponse response_body = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse, io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse.Builder, io.envoyproxy.envoy.service.ext_proc.v3.BodyResponseOrBuilder>
getResponseBodyFieldBuilder() {
if (responseBodyBuilder_ == null) {
if (!(responseCase_ == 4)) {
response_ = io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse.getDefaultInstance();
}
responseBodyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse, io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse.Builder, io.envoyproxy.envoy.service.ext_proc.v3.BodyResponseOrBuilder>(
(io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 4;
onChanged();
return responseBodyBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse, io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse.Builder, io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponseOrBuilder> requestTrailersBuilder_;
/**
*
* The server must send back this message in response to a message with
* the ``request_trailers`` field set.
*
*
* .envoy.service.ext_proc.v3.TrailersResponse request_trailers = 5;
* @return Whether the requestTrailers field is set.
*/
@java.lang.Override
public boolean hasRequestTrailers() {
return responseCase_ == 5;
}
/**
*
* The server must send back this message in response to a message with
* the ``request_trailers`` field set.
*
*
* .envoy.service.ext_proc.v3.TrailersResponse request_trailers = 5;
* @return The requestTrailers.
*/
@java.lang.Override
public io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse getRequestTrailers() {
if (requestTrailersBuilder_ == null) {
if (responseCase_ == 5) {
return (io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse) response_;
}
return io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse.getDefaultInstance();
} else {
if (responseCase_ == 5) {
return requestTrailersBuilder_.getMessage();
}
return io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse.getDefaultInstance();
}
}
/**
*
* The server must send back this message in response to a message with
* the ``request_trailers`` field set.
*
*
* .envoy.service.ext_proc.v3.TrailersResponse request_trailers = 5;
*/
public Builder setRequestTrailers(io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse value) {
if (requestTrailersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
requestTrailersBuilder_.setMessage(value);
}
responseCase_ = 5;
return this;
}
/**
*
* The server must send back this message in response to a message with
* the ``request_trailers`` field set.
*
*
* .envoy.service.ext_proc.v3.TrailersResponse request_trailers = 5;
*/
public Builder setRequestTrailers(
io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse.Builder builderForValue) {
if (requestTrailersBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
requestTrailersBuilder_.setMessage(builderForValue.build());
}
responseCase_ = 5;
return this;
}
/**
*
* The server must send back this message in response to a message with
* the ``request_trailers`` field set.
*
*
* .envoy.service.ext_proc.v3.TrailersResponse request_trailers = 5;
*/
public Builder mergeRequestTrailers(io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse value) {
if (requestTrailersBuilder_ == null) {
if (responseCase_ == 5 &&
response_ != io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse.getDefaultInstance()) {
response_ = io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse.newBuilder((io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 5) {
requestTrailersBuilder_.mergeFrom(value);
} else {
requestTrailersBuilder_.setMessage(value);
}
}
responseCase_ = 5;
return this;
}
/**
*
* The server must send back this message in response to a message with
* the ``request_trailers`` field set.
*
*
* .envoy.service.ext_proc.v3.TrailersResponse request_trailers = 5;
*/
public Builder clearRequestTrailers() {
if (requestTrailersBuilder_ == null) {
if (responseCase_ == 5) {
responseCase_ = 0;
response_ = null;
onChanged();
}
} else {
if (responseCase_ == 5) {
responseCase_ = 0;
response_ = null;
}
requestTrailersBuilder_.clear();
}
return this;
}
/**
*
* The server must send back this message in response to a message with
* the ``request_trailers`` field set.
*
*
* .envoy.service.ext_proc.v3.TrailersResponse request_trailers = 5;
*/
public io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse.Builder getRequestTrailersBuilder() {
return getRequestTrailersFieldBuilder().getBuilder();
}
/**
*
* The server must send back this message in response to a message with
* the ``request_trailers`` field set.
*
*
* .envoy.service.ext_proc.v3.TrailersResponse request_trailers = 5;
*/
@java.lang.Override
public io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponseOrBuilder getRequestTrailersOrBuilder() {
if ((responseCase_ == 5) && (requestTrailersBuilder_ != null)) {
return requestTrailersBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 5) {
return (io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse) response_;
}
return io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse.getDefaultInstance();
}
}
/**
*
* The server must send back this message in response to a message with
* the ``request_trailers`` field set.
*
*
* .envoy.service.ext_proc.v3.TrailersResponse request_trailers = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse, io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse.Builder, io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponseOrBuilder>
getRequestTrailersFieldBuilder() {
if (requestTrailersBuilder_ == null) {
if (!(responseCase_ == 5)) {
response_ = io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse.getDefaultInstance();
}
requestTrailersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse, io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse.Builder, io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponseOrBuilder>(
(io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 5;
onChanged();
return requestTrailersBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse, io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse.Builder, io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponseOrBuilder> responseTrailersBuilder_;
/**
*
* The server must send back this message in response to a message with
* the ``response_trailers`` field set.
*
*
* .envoy.service.ext_proc.v3.TrailersResponse response_trailers = 6;
* @return Whether the responseTrailers field is set.
*/
@java.lang.Override
public boolean hasResponseTrailers() {
return responseCase_ == 6;
}
/**
*
* The server must send back this message in response to a message with
* the ``response_trailers`` field set.
*
*
* .envoy.service.ext_proc.v3.TrailersResponse response_trailers = 6;
* @return The responseTrailers.
*/
@java.lang.Override
public io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse getResponseTrailers() {
if (responseTrailersBuilder_ == null) {
if (responseCase_ == 6) {
return (io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse) response_;
}
return io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse.getDefaultInstance();
} else {
if (responseCase_ == 6) {
return responseTrailersBuilder_.getMessage();
}
return io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse.getDefaultInstance();
}
}
/**
*
* The server must send back this message in response to a message with
* the ``response_trailers`` field set.
*
*
* .envoy.service.ext_proc.v3.TrailersResponse response_trailers = 6;
*/
public Builder setResponseTrailers(io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse value) {
if (responseTrailersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
responseTrailersBuilder_.setMessage(value);
}
responseCase_ = 6;
return this;
}
/**
*
* The server must send back this message in response to a message with
* the ``response_trailers`` field set.
*
*
* .envoy.service.ext_proc.v3.TrailersResponse response_trailers = 6;
*/
public Builder setResponseTrailers(
io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse.Builder builderForValue) {
if (responseTrailersBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
responseTrailersBuilder_.setMessage(builderForValue.build());
}
responseCase_ = 6;
return this;
}
/**
*
* The server must send back this message in response to a message with
* the ``response_trailers`` field set.
*
*
* .envoy.service.ext_proc.v3.TrailersResponse response_trailers = 6;
*/
public Builder mergeResponseTrailers(io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse value) {
if (responseTrailersBuilder_ == null) {
if (responseCase_ == 6 &&
response_ != io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse.getDefaultInstance()) {
response_ = io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse.newBuilder((io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 6) {
responseTrailersBuilder_.mergeFrom(value);
} else {
responseTrailersBuilder_.setMessage(value);
}
}
responseCase_ = 6;
return this;
}
/**
*
* The server must send back this message in response to a message with
* the ``response_trailers`` field set.
*
*
* .envoy.service.ext_proc.v3.TrailersResponse response_trailers = 6;
*/
public Builder clearResponseTrailers() {
if (responseTrailersBuilder_ == null) {
if (responseCase_ == 6) {
responseCase_ = 0;
response_ = null;
onChanged();
}
} else {
if (responseCase_ == 6) {
responseCase_ = 0;
response_ = null;
}
responseTrailersBuilder_.clear();
}
return this;
}
/**
*
* The server must send back this message in response to a message with
* the ``response_trailers`` field set.
*
*
* .envoy.service.ext_proc.v3.TrailersResponse response_trailers = 6;
*/
public io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse.Builder getResponseTrailersBuilder() {
return getResponseTrailersFieldBuilder().getBuilder();
}
/**
*
* The server must send back this message in response to a message with
* the ``response_trailers`` field set.
*
*
* .envoy.service.ext_proc.v3.TrailersResponse response_trailers = 6;
*/
@java.lang.Override
public io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponseOrBuilder getResponseTrailersOrBuilder() {
if ((responseCase_ == 6) && (responseTrailersBuilder_ != null)) {
return responseTrailersBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 6) {
return (io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse) response_;
}
return io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse.getDefaultInstance();
}
}
/**
*
* The server must send back this message in response to a message with
* the ``response_trailers`` field set.
*
*
* .envoy.service.ext_proc.v3.TrailersResponse response_trailers = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse, io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse.Builder, io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponseOrBuilder>
getResponseTrailersFieldBuilder() {
if (responseTrailersBuilder_ == null) {
if (!(responseCase_ == 6)) {
response_ = io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse.getDefaultInstance();
}
responseTrailersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse, io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse.Builder, io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponseOrBuilder>(
(io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 6;
onChanged();
return responseTrailersBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.service.ext_proc.v3.ImmediateResponse, io.envoyproxy.envoy.service.ext_proc.v3.ImmediateResponse.Builder, io.envoyproxy.envoy.service.ext_proc.v3.ImmediateResponseOrBuilder> immediateResponseBuilder_;
/**
*
* If specified, attempt to create a locally generated response, send it
* downstream, and stop processing additional filters and ignore any
* additional messages received from the remote server for this request or
* response. If a response has already started -- for example, if this
* message is sent response to a ``response_body`` message -- then
* this will either ship the reply directly to the downstream codec,
* or reset the stream.
*
*
* .envoy.service.ext_proc.v3.ImmediateResponse immediate_response = 7;
* @return Whether the immediateResponse field is set.
*/
@java.lang.Override
public boolean hasImmediateResponse() {
return responseCase_ == 7;
}
/**
*
* If specified, attempt to create a locally generated response, send it
* downstream, and stop processing additional filters and ignore any
* additional messages received from the remote server for this request or
* response. If a response has already started -- for example, if this
* message is sent response to a ``response_body`` message -- then
* this will either ship the reply directly to the downstream codec,
* or reset the stream.
*
*
* .envoy.service.ext_proc.v3.ImmediateResponse immediate_response = 7;
* @return The immediateResponse.
*/
@java.lang.Override
public io.envoyproxy.envoy.service.ext_proc.v3.ImmediateResponse getImmediateResponse() {
if (immediateResponseBuilder_ == null) {
if (responseCase_ == 7) {
return (io.envoyproxy.envoy.service.ext_proc.v3.ImmediateResponse) response_;
}
return io.envoyproxy.envoy.service.ext_proc.v3.ImmediateResponse.getDefaultInstance();
} else {
if (responseCase_ == 7) {
return immediateResponseBuilder_.getMessage();
}
return io.envoyproxy.envoy.service.ext_proc.v3.ImmediateResponse.getDefaultInstance();
}
}
/**
*
* If specified, attempt to create a locally generated response, send it
* downstream, and stop processing additional filters and ignore any
* additional messages received from the remote server for this request or
* response. If a response has already started -- for example, if this
* message is sent response to a ``response_body`` message -- then
* this will either ship the reply directly to the downstream codec,
* or reset the stream.
*
*
* .envoy.service.ext_proc.v3.ImmediateResponse immediate_response = 7;
*/
public Builder setImmediateResponse(io.envoyproxy.envoy.service.ext_proc.v3.ImmediateResponse value) {
if (immediateResponseBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
immediateResponseBuilder_.setMessage(value);
}
responseCase_ = 7;
return this;
}
/**
*
* If specified, attempt to create a locally generated response, send it
* downstream, and stop processing additional filters and ignore any
* additional messages received from the remote server for this request or
* response. If a response has already started -- for example, if this
* message is sent response to a ``response_body`` message -- then
* this will either ship the reply directly to the downstream codec,
* or reset the stream.
*
*
* .envoy.service.ext_proc.v3.ImmediateResponse immediate_response = 7;
*/
public Builder setImmediateResponse(
io.envoyproxy.envoy.service.ext_proc.v3.ImmediateResponse.Builder builderForValue) {
if (immediateResponseBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
immediateResponseBuilder_.setMessage(builderForValue.build());
}
responseCase_ = 7;
return this;
}
/**
*
* If specified, attempt to create a locally generated response, send it
* downstream, and stop processing additional filters and ignore any
* additional messages received from the remote server for this request or
* response. If a response has already started -- for example, if this
* message is sent response to a ``response_body`` message -- then
* this will either ship the reply directly to the downstream codec,
* or reset the stream.
*
*
* .envoy.service.ext_proc.v3.ImmediateResponse immediate_response = 7;
*/
public Builder mergeImmediateResponse(io.envoyproxy.envoy.service.ext_proc.v3.ImmediateResponse value) {
if (immediateResponseBuilder_ == null) {
if (responseCase_ == 7 &&
response_ != io.envoyproxy.envoy.service.ext_proc.v3.ImmediateResponse.getDefaultInstance()) {
response_ = io.envoyproxy.envoy.service.ext_proc.v3.ImmediateResponse.newBuilder((io.envoyproxy.envoy.service.ext_proc.v3.ImmediateResponse) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 7) {
immediateResponseBuilder_.mergeFrom(value);
} else {
immediateResponseBuilder_.setMessage(value);
}
}
responseCase_ = 7;
return this;
}
/**
*
* If specified, attempt to create a locally generated response, send it
* downstream, and stop processing additional filters and ignore any
* additional messages received from the remote server for this request or
* response. If a response has already started -- for example, if this
* message is sent response to a ``response_body`` message -- then
* this will either ship the reply directly to the downstream codec,
* or reset the stream.
*
*
* .envoy.service.ext_proc.v3.ImmediateResponse immediate_response = 7;
*/
public Builder clearImmediateResponse() {
if (immediateResponseBuilder_ == null) {
if (responseCase_ == 7) {
responseCase_ = 0;
response_ = null;
onChanged();
}
} else {
if (responseCase_ == 7) {
responseCase_ = 0;
response_ = null;
}
immediateResponseBuilder_.clear();
}
return this;
}
/**
*
* If specified, attempt to create a locally generated response, send it
* downstream, and stop processing additional filters and ignore any
* additional messages received from the remote server for this request or
* response. If a response has already started -- for example, if this
* message is sent response to a ``response_body`` message -- then
* this will either ship the reply directly to the downstream codec,
* or reset the stream.
*
*
* .envoy.service.ext_proc.v3.ImmediateResponse immediate_response = 7;
*/
public io.envoyproxy.envoy.service.ext_proc.v3.ImmediateResponse.Builder getImmediateResponseBuilder() {
return getImmediateResponseFieldBuilder().getBuilder();
}
/**
*
* If specified, attempt to create a locally generated response, send it
* downstream, and stop processing additional filters and ignore any
* additional messages received from the remote server for this request or
* response. If a response has already started -- for example, if this
* message is sent response to a ``response_body`` message -- then
* this will either ship the reply directly to the downstream codec,
* or reset the stream.
*
*
* .envoy.service.ext_proc.v3.ImmediateResponse immediate_response = 7;
*/
@java.lang.Override
public io.envoyproxy.envoy.service.ext_proc.v3.ImmediateResponseOrBuilder getImmediateResponseOrBuilder() {
if ((responseCase_ == 7) && (immediateResponseBuilder_ != null)) {
return immediateResponseBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 7) {
return (io.envoyproxy.envoy.service.ext_proc.v3.ImmediateResponse) response_;
}
return io.envoyproxy.envoy.service.ext_proc.v3.ImmediateResponse.getDefaultInstance();
}
}
/**
*
* If specified, attempt to create a locally generated response, send it
* downstream, and stop processing additional filters and ignore any
* additional messages received from the remote server for this request or
* response. If a response has already started -- for example, if this
* message is sent response to a ``response_body`` message -- then
* this will either ship the reply directly to the downstream codec,
* or reset the stream.
*
*
* .envoy.service.ext_proc.v3.ImmediateResponse immediate_response = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.service.ext_proc.v3.ImmediateResponse, io.envoyproxy.envoy.service.ext_proc.v3.ImmediateResponse.Builder, io.envoyproxy.envoy.service.ext_proc.v3.ImmediateResponseOrBuilder>
getImmediateResponseFieldBuilder() {
if (immediateResponseBuilder_ == null) {
if (!(responseCase_ == 7)) {
response_ = io.envoyproxy.envoy.service.ext_proc.v3.ImmediateResponse.getDefaultInstance();
}
immediateResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.service.ext_proc.v3.ImmediateResponse, io.envoyproxy.envoy.service.ext_proc.v3.ImmediateResponse.Builder, io.envoyproxy.envoy.service.ext_proc.v3.ImmediateResponseOrBuilder>(
(io.envoyproxy.envoy.service.ext_proc.v3.ImmediateResponse) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 7;
onChanged();
return immediateResponseBuilder_;
}
private com.google.protobuf.Struct dynamicMetadata_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> dynamicMetadataBuilder_;
/**
*
* Optional metadata that will be emitted as dynamic metadata to be consumed by
* following filters. This metadata will be placed in the namespace(s) specified by the top-level
* field name(s) of the struct.
*
*
* .google.protobuf.Struct dynamic_metadata = 8;
* @return Whether the dynamicMetadata field is set.
*/
public boolean hasDynamicMetadata() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
*
* Optional metadata that will be emitted as dynamic metadata to be consumed by
* following filters. This metadata will be placed in the namespace(s) specified by the top-level
* field name(s) of the struct.
*
*
* .google.protobuf.Struct dynamic_metadata = 8;
* @return The dynamicMetadata.
*/
public com.google.protobuf.Struct getDynamicMetadata() {
if (dynamicMetadataBuilder_ == null) {
return dynamicMetadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : dynamicMetadata_;
} else {
return dynamicMetadataBuilder_.getMessage();
}
}
/**
*
* Optional metadata that will be emitted as dynamic metadata to be consumed by
* following filters. This metadata will be placed in the namespace(s) specified by the top-level
* field name(s) of the struct.
*
*
* .google.protobuf.Struct dynamic_metadata = 8;
*/
public Builder setDynamicMetadata(com.google.protobuf.Struct value) {
if (dynamicMetadataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
dynamicMetadata_ = value;
} else {
dynamicMetadataBuilder_.setMessage(value);
}
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
*
* Optional metadata that will be emitted as dynamic metadata to be consumed by
* following filters. This metadata will be placed in the namespace(s) specified by the top-level
* field name(s) of the struct.
*
*
* .google.protobuf.Struct dynamic_metadata = 8;
*/
public Builder setDynamicMetadata(
com.google.protobuf.Struct.Builder builderForValue) {
if (dynamicMetadataBuilder_ == null) {
dynamicMetadata_ = builderForValue.build();
} else {
dynamicMetadataBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
*
* Optional metadata that will be emitted as dynamic metadata to be consumed by
* following filters. This metadata will be placed in the namespace(s) specified by the top-level
* field name(s) of the struct.
*
*
* .google.protobuf.Struct dynamic_metadata = 8;
*/
public Builder mergeDynamicMetadata(com.google.protobuf.Struct value) {
if (dynamicMetadataBuilder_ == null) {
if (((bitField0_ & 0x00000080) != 0) &&
dynamicMetadata_ != null &&
dynamicMetadata_ != com.google.protobuf.Struct.getDefaultInstance()) {
getDynamicMetadataBuilder().mergeFrom(value);
} else {
dynamicMetadata_ = value;
}
} else {
dynamicMetadataBuilder_.mergeFrom(value);
}
if (dynamicMetadata_ != null) {
bitField0_ |= 0x00000080;
onChanged();
}
return this;
}
/**
*
* Optional metadata that will be emitted as dynamic metadata to be consumed by
* following filters. This metadata will be placed in the namespace(s) specified by the top-level
* field name(s) of the struct.
*
*
* .google.protobuf.Struct dynamic_metadata = 8;
*/
public Builder clearDynamicMetadata() {
bitField0_ = (bitField0_ & ~0x00000080);
dynamicMetadata_ = null;
if (dynamicMetadataBuilder_ != null) {
dynamicMetadataBuilder_.dispose();
dynamicMetadataBuilder_ = null;
}
onChanged();
return this;
}
/**
*
* Optional metadata that will be emitted as dynamic metadata to be consumed by
* following filters. This metadata will be placed in the namespace(s) specified by the top-level
* field name(s) of the struct.
*
*
* .google.protobuf.Struct dynamic_metadata = 8;
*/
public com.google.protobuf.Struct.Builder getDynamicMetadataBuilder() {
bitField0_ |= 0x00000080;
onChanged();
return getDynamicMetadataFieldBuilder().getBuilder();
}
/**
*
* Optional metadata that will be emitted as dynamic metadata to be consumed by
* following filters. This metadata will be placed in the namespace(s) specified by the top-level
* field name(s) of the struct.
*
*
* .google.protobuf.Struct dynamic_metadata = 8;
*/
public com.google.protobuf.StructOrBuilder getDynamicMetadataOrBuilder() {
if (dynamicMetadataBuilder_ != null) {
return dynamicMetadataBuilder_.getMessageOrBuilder();
} else {
return dynamicMetadata_ == null ?
com.google.protobuf.Struct.getDefaultInstance() : dynamicMetadata_;
}
}
/**
*
* Optional metadata that will be emitted as dynamic metadata to be consumed by
* following filters. This metadata will be placed in the namespace(s) specified by the top-level
* field name(s) of the struct.
*
*
* .google.protobuf.Struct dynamic_metadata = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>
getDynamicMetadataFieldBuilder() {
if (dynamicMetadataBuilder_ == null) {
dynamicMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
getDynamicMetadata(),
getParentForChildren(),
isClean());
dynamicMetadata_ = null;
}
return dynamicMetadataBuilder_;
}
private io.envoyproxy.envoy.extensions.filters.http.ext_proc.v3.ProcessingMode modeOverride_;
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.extensions.filters.http.ext_proc.v3.ProcessingMode, io.envoyproxy.envoy.extensions.filters.http.ext_proc.v3.ProcessingMode.Builder, io.envoyproxy.envoy.extensions.filters.http.ext_proc.v3.ProcessingModeOrBuilder> modeOverrideBuilder_;
/**
*
* Override how parts of the HTTP request and response are processed
* for the duration of this particular request/response only. Servers
* may use this to intelligently control how requests are processed
* based on the headers and other metadata that they see.
* This field is only applicable when servers responding to the header requests.
* If it is set in the response to the body or trailer requests, it will be ignored by Envoy.
* It is also ignored by Envoy when the ext_proc filter config
* :ref:`allow_mode_override
* <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.allow_mode_override>`
* is set to false.
*
*
* .envoy.extensions.filters.http.ext_proc.v3.ProcessingMode mode_override = 9;
* @return Whether the modeOverride field is set.
*/
public boolean hasModeOverride() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
*
* Override how parts of the HTTP request and response are processed
* for the duration of this particular request/response only. Servers
* may use this to intelligently control how requests are processed
* based on the headers and other metadata that they see.
* This field is only applicable when servers responding to the header requests.
* If it is set in the response to the body or trailer requests, it will be ignored by Envoy.
* It is also ignored by Envoy when the ext_proc filter config
* :ref:`allow_mode_override
* <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.allow_mode_override>`
* is set to false.
*
*
* .envoy.extensions.filters.http.ext_proc.v3.ProcessingMode mode_override = 9;
* @return The modeOverride.
*/
public io.envoyproxy.envoy.extensions.filters.http.ext_proc.v3.ProcessingMode getModeOverride() {
if (modeOverrideBuilder_ == null) {
return modeOverride_ == null ? io.envoyproxy.envoy.extensions.filters.http.ext_proc.v3.ProcessingMode.getDefaultInstance() : modeOverride_;
} else {
return modeOverrideBuilder_.getMessage();
}
}
/**
*
* Override how parts of the HTTP request and response are processed
* for the duration of this particular request/response only. Servers
* may use this to intelligently control how requests are processed
* based on the headers and other metadata that they see.
* This field is only applicable when servers responding to the header requests.
* If it is set in the response to the body or trailer requests, it will be ignored by Envoy.
* It is also ignored by Envoy when the ext_proc filter config
* :ref:`allow_mode_override
* <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.allow_mode_override>`
* is set to false.
*
*
* .envoy.extensions.filters.http.ext_proc.v3.ProcessingMode mode_override = 9;
*/
public Builder setModeOverride(io.envoyproxy.envoy.extensions.filters.http.ext_proc.v3.ProcessingMode value) {
if (modeOverrideBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
modeOverride_ = value;
} else {
modeOverrideBuilder_.setMessage(value);
}
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
*
* Override how parts of the HTTP request and response are processed
* for the duration of this particular request/response only. Servers
* may use this to intelligently control how requests are processed
* based on the headers and other metadata that they see.
* This field is only applicable when servers responding to the header requests.
* If it is set in the response to the body or trailer requests, it will be ignored by Envoy.
* It is also ignored by Envoy when the ext_proc filter config
* :ref:`allow_mode_override
* <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.allow_mode_override>`
* is set to false.
*
*
* .envoy.extensions.filters.http.ext_proc.v3.ProcessingMode mode_override = 9;
*/
public Builder setModeOverride(
io.envoyproxy.envoy.extensions.filters.http.ext_proc.v3.ProcessingMode.Builder builderForValue) {
if (modeOverrideBuilder_ == null) {
modeOverride_ = builderForValue.build();
} else {
modeOverrideBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
*
* Override how parts of the HTTP request and response are processed
* for the duration of this particular request/response only. Servers
* may use this to intelligently control how requests are processed
* based on the headers and other metadata that they see.
* This field is only applicable when servers responding to the header requests.
* If it is set in the response to the body or trailer requests, it will be ignored by Envoy.
* It is also ignored by Envoy when the ext_proc filter config
* :ref:`allow_mode_override
* <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.allow_mode_override>`
* is set to false.
*
*
* .envoy.extensions.filters.http.ext_proc.v3.ProcessingMode mode_override = 9;
*/
public Builder mergeModeOverride(io.envoyproxy.envoy.extensions.filters.http.ext_proc.v3.ProcessingMode value) {
if (modeOverrideBuilder_ == null) {
if (((bitField0_ & 0x00000100) != 0) &&
modeOverride_ != null &&
modeOverride_ != io.envoyproxy.envoy.extensions.filters.http.ext_proc.v3.ProcessingMode.getDefaultInstance()) {
getModeOverrideBuilder().mergeFrom(value);
} else {
modeOverride_ = value;
}
} else {
modeOverrideBuilder_.mergeFrom(value);
}
if (modeOverride_ != null) {
bitField0_ |= 0x00000100;
onChanged();
}
return this;
}
/**
*
* Override how parts of the HTTP request and response are processed
* for the duration of this particular request/response only. Servers
* may use this to intelligently control how requests are processed
* based on the headers and other metadata that they see.
* This field is only applicable when servers responding to the header requests.
* If it is set in the response to the body or trailer requests, it will be ignored by Envoy.
* It is also ignored by Envoy when the ext_proc filter config
* :ref:`allow_mode_override
* <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.allow_mode_override>`
* is set to false.
*
*
* .envoy.extensions.filters.http.ext_proc.v3.ProcessingMode mode_override = 9;
*/
public Builder clearModeOverride() {
bitField0_ = (bitField0_ & ~0x00000100);
modeOverride_ = null;
if (modeOverrideBuilder_ != null) {
modeOverrideBuilder_.dispose();
modeOverrideBuilder_ = null;
}
onChanged();
return this;
}
/**
*
* Override how parts of the HTTP request and response are processed
* for the duration of this particular request/response only. Servers
* may use this to intelligently control how requests are processed
* based on the headers and other metadata that they see.
* This field is only applicable when servers responding to the header requests.
* If it is set in the response to the body or trailer requests, it will be ignored by Envoy.
* It is also ignored by Envoy when the ext_proc filter config
* :ref:`allow_mode_override
* <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.allow_mode_override>`
* is set to false.
*
*
* .envoy.extensions.filters.http.ext_proc.v3.ProcessingMode mode_override = 9;
*/
public io.envoyproxy.envoy.extensions.filters.http.ext_proc.v3.ProcessingMode.Builder getModeOverrideBuilder() {
bitField0_ |= 0x00000100;
onChanged();
return getModeOverrideFieldBuilder().getBuilder();
}
/**
*
* Override how parts of the HTTP request and response are processed
* for the duration of this particular request/response only. Servers
* may use this to intelligently control how requests are processed
* based on the headers and other metadata that they see.
* This field is only applicable when servers responding to the header requests.
* If it is set in the response to the body or trailer requests, it will be ignored by Envoy.
* It is also ignored by Envoy when the ext_proc filter config
* :ref:`allow_mode_override
* <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.allow_mode_override>`
* is set to false.
*
*
* .envoy.extensions.filters.http.ext_proc.v3.ProcessingMode mode_override = 9;
*/
public io.envoyproxy.envoy.extensions.filters.http.ext_proc.v3.ProcessingModeOrBuilder getModeOverrideOrBuilder() {
if (modeOverrideBuilder_ != null) {
return modeOverrideBuilder_.getMessageOrBuilder();
} else {
return modeOverride_ == null ?
io.envoyproxy.envoy.extensions.filters.http.ext_proc.v3.ProcessingMode.getDefaultInstance() : modeOverride_;
}
}
/**
*
* Override how parts of the HTTP request and response are processed
* for the duration of this particular request/response only. Servers
* may use this to intelligently control how requests are processed
* based on the headers and other metadata that they see.
* This field is only applicable when servers responding to the header requests.
* If it is set in the response to the body or trailer requests, it will be ignored by Envoy.
* It is also ignored by Envoy when the ext_proc filter config
* :ref:`allow_mode_override
* <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.allow_mode_override>`
* is set to false.
*
*
* .envoy.extensions.filters.http.ext_proc.v3.ProcessingMode mode_override = 9;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.extensions.filters.http.ext_proc.v3.ProcessingMode, io.envoyproxy.envoy.extensions.filters.http.ext_proc.v3.ProcessingMode.Builder, io.envoyproxy.envoy.extensions.filters.http.ext_proc.v3.ProcessingModeOrBuilder>
getModeOverrideFieldBuilder() {
if (modeOverrideBuilder_ == null) {
modeOverrideBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.extensions.filters.http.ext_proc.v3.ProcessingMode, io.envoyproxy.envoy.extensions.filters.http.ext_proc.v3.ProcessingMode.Builder, io.envoyproxy.envoy.extensions.filters.http.ext_proc.v3.ProcessingModeOrBuilder>(
getModeOverride(),
getParentForChildren(),
isClean());
modeOverride_ = null;
}
return modeOverrideBuilder_;
}
private com.google.protobuf.Duration overrideMessageTimeout_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> overrideMessageTimeoutBuilder_;
/**
*
* When ext_proc server receives a request message, in case it needs more
* time to process the message, it sends back a ProcessingResponse message
* with a new timeout value. When Envoy receives this response message,
* it ignores other fields in the response, just stop the original timer,
* which has the timeout value specified in
* :ref:`message_timeout
* <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.message_timeout>`
* and start a new timer with this ``override_message_timeout`` value and keep the
* Envoy ext_proc filter state machine intact.
* Has to be >= 1ms and <=
* :ref:`max_message_timeout <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.max_message_timeout>`
* Such message can be sent at most once in a particular Envoy ext_proc filter processing state.
* To enable this API, one has to set ``max_message_timeout`` to a number >= 1ms.
*
*
* .google.protobuf.Duration override_message_timeout = 10;
* @return Whether the overrideMessageTimeout field is set.
*/
public boolean hasOverrideMessageTimeout() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
*
* When ext_proc server receives a request message, in case it needs more
* time to process the message, it sends back a ProcessingResponse message
* with a new timeout value. When Envoy receives this response message,
* it ignores other fields in the response, just stop the original timer,
* which has the timeout value specified in
* :ref:`message_timeout
* <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.message_timeout>`
* and start a new timer with this ``override_message_timeout`` value and keep the
* Envoy ext_proc filter state machine intact.
* Has to be >= 1ms and <=
* :ref:`max_message_timeout <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.max_message_timeout>`
* Such message can be sent at most once in a particular Envoy ext_proc filter processing state.
* To enable this API, one has to set ``max_message_timeout`` to a number >= 1ms.
*
*
* .google.protobuf.Duration override_message_timeout = 10;
* @return The overrideMessageTimeout.
*/
public com.google.protobuf.Duration getOverrideMessageTimeout() {
if (overrideMessageTimeoutBuilder_ == null) {
return overrideMessageTimeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : overrideMessageTimeout_;
} else {
return overrideMessageTimeoutBuilder_.getMessage();
}
}
/**
*
* When ext_proc server receives a request message, in case it needs more
* time to process the message, it sends back a ProcessingResponse message
* with a new timeout value. When Envoy receives this response message,
* it ignores other fields in the response, just stop the original timer,
* which has the timeout value specified in
* :ref:`message_timeout
* <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.message_timeout>`
* and start a new timer with this ``override_message_timeout`` value and keep the
* Envoy ext_proc filter state machine intact.
* Has to be >= 1ms and <=
* :ref:`max_message_timeout <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.max_message_timeout>`
* Such message can be sent at most once in a particular Envoy ext_proc filter processing state.
* To enable this API, one has to set ``max_message_timeout`` to a number >= 1ms.
*
*
* .google.protobuf.Duration override_message_timeout = 10;
*/
public Builder setOverrideMessageTimeout(com.google.protobuf.Duration value) {
if (overrideMessageTimeoutBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
overrideMessageTimeout_ = value;
} else {
overrideMessageTimeoutBuilder_.setMessage(value);
}
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
*
* When ext_proc server receives a request message, in case it needs more
* time to process the message, it sends back a ProcessingResponse message
* with a new timeout value. When Envoy receives this response message,
* it ignores other fields in the response, just stop the original timer,
* which has the timeout value specified in
* :ref:`message_timeout
* <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.message_timeout>`
* and start a new timer with this ``override_message_timeout`` value and keep the
* Envoy ext_proc filter state machine intact.
* Has to be >= 1ms and <=
* :ref:`max_message_timeout <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.max_message_timeout>`
* Such message can be sent at most once in a particular Envoy ext_proc filter processing state.
* To enable this API, one has to set ``max_message_timeout`` to a number >= 1ms.
*
*
* .google.protobuf.Duration override_message_timeout = 10;
*/
public Builder setOverrideMessageTimeout(
com.google.protobuf.Duration.Builder builderForValue) {
if (overrideMessageTimeoutBuilder_ == null) {
overrideMessageTimeout_ = builderForValue.build();
} else {
overrideMessageTimeoutBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
*
* When ext_proc server receives a request message, in case it needs more
* time to process the message, it sends back a ProcessingResponse message
* with a new timeout value. When Envoy receives this response message,
* it ignores other fields in the response, just stop the original timer,
* which has the timeout value specified in
* :ref:`message_timeout
* <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.message_timeout>`
* and start a new timer with this ``override_message_timeout`` value and keep the
* Envoy ext_proc filter state machine intact.
* Has to be >= 1ms and <=
* :ref:`max_message_timeout <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.max_message_timeout>`
* Such message can be sent at most once in a particular Envoy ext_proc filter processing state.
* To enable this API, one has to set ``max_message_timeout`` to a number >= 1ms.
*
*
* .google.protobuf.Duration override_message_timeout = 10;
*/
public Builder mergeOverrideMessageTimeout(com.google.protobuf.Duration value) {
if (overrideMessageTimeoutBuilder_ == null) {
if (((bitField0_ & 0x00000200) != 0) &&
overrideMessageTimeout_ != null &&
overrideMessageTimeout_ != com.google.protobuf.Duration.getDefaultInstance()) {
getOverrideMessageTimeoutBuilder().mergeFrom(value);
} else {
overrideMessageTimeout_ = value;
}
} else {
overrideMessageTimeoutBuilder_.mergeFrom(value);
}
if (overrideMessageTimeout_ != null) {
bitField0_ |= 0x00000200;
onChanged();
}
return this;
}
/**
*
* When ext_proc server receives a request message, in case it needs more
* time to process the message, it sends back a ProcessingResponse message
* with a new timeout value. When Envoy receives this response message,
* it ignores other fields in the response, just stop the original timer,
* which has the timeout value specified in
* :ref:`message_timeout
* <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.message_timeout>`
* and start a new timer with this ``override_message_timeout`` value and keep the
* Envoy ext_proc filter state machine intact.
* Has to be >= 1ms and <=
* :ref:`max_message_timeout <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.max_message_timeout>`
* Such message can be sent at most once in a particular Envoy ext_proc filter processing state.
* To enable this API, one has to set ``max_message_timeout`` to a number >= 1ms.
*
*
* .google.protobuf.Duration override_message_timeout = 10;
*/
public Builder clearOverrideMessageTimeout() {
bitField0_ = (bitField0_ & ~0x00000200);
overrideMessageTimeout_ = null;
if (overrideMessageTimeoutBuilder_ != null) {
overrideMessageTimeoutBuilder_.dispose();
overrideMessageTimeoutBuilder_ = null;
}
onChanged();
return this;
}
/**
*
* When ext_proc server receives a request message, in case it needs more
* time to process the message, it sends back a ProcessingResponse message
* with a new timeout value. When Envoy receives this response message,
* it ignores other fields in the response, just stop the original timer,
* which has the timeout value specified in
* :ref:`message_timeout
* <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.message_timeout>`
* and start a new timer with this ``override_message_timeout`` value and keep the
* Envoy ext_proc filter state machine intact.
* Has to be >= 1ms and <=
* :ref:`max_message_timeout <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.max_message_timeout>`
* Such message can be sent at most once in a particular Envoy ext_proc filter processing state.
* To enable this API, one has to set ``max_message_timeout`` to a number >= 1ms.
*
*
* .google.protobuf.Duration override_message_timeout = 10;
*/
public com.google.protobuf.Duration.Builder getOverrideMessageTimeoutBuilder() {
bitField0_ |= 0x00000200;
onChanged();
return getOverrideMessageTimeoutFieldBuilder().getBuilder();
}
/**
*
* When ext_proc server receives a request message, in case it needs more
* time to process the message, it sends back a ProcessingResponse message
* with a new timeout value. When Envoy receives this response message,
* it ignores other fields in the response, just stop the original timer,
* which has the timeout value specified in
* :ref:`message_timeout
* <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.message_timeout>`
* and start a new timer with this ``override_message_timeout`` value and keep the
* Envoy ext_proc filter state machine intact.
* Has to be >= 1ms and <=
* :ref:`max_message_timeout <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.max_message_timeout>`
* Such message can be sent at most once in a particular Envoy ext_proc filter processing state.
* To enable this API, one has to set ``max_message_timeout`` to a number >= 1ms.
*
*
* .google.protobuf.Duration override_message_timeout = 10;
*/
public com.google.protobuf.DurationOrBuilder getOverrideMessageTimeoutOrBuilder() {
if (overrideMessageTimeoutBuilder_ != null) {
return overrideMessageTimeoutBuilder_.getMessageOrBuilder();
} else {
return overrideMessageTimeout_ == null ?
com.google.protobuf.Duration.getDefaultInstance() : overrideMessageTimeout_;
}
}
/**
*
* When ext_proc server receives a request message, in case it needs more
* time to process the message, it sends back a ProcessingResponse message
* with a new timeout value. When Envoy receives this response message,
* it ignores other fields in the response, just stop the original timer,
* which has the timeout value specified in
* :ref:`message_timeout
* <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.message_timeout>`
* and start a new timer with this ``override_message_timeout`` value and keep the
* Envoy ext_proc filter state machine intact.
* Has to be >= 1ms and <=
* :ref:`max_message_timeout <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.max_message_timeout>`
* Such message can be sent at most once in a particular Envoy ext_proc filter processing state.
* To enable this API, one has to set ``max_message_timeout`` to a number >= 1ms.
*
*
* .google.protobuf.Duration override_message_timeout = 10;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>
getOverrideMessageTimeoutFieldBuilder() {
if (overrideMessageTimeoutBuilder_ == null) {
overrideMessageTimeoutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
getOverrideMessageTimeout(),
getParentForChildren(),
isClean());
overrideMessageTimeout_ = null;
}
return overrideMessageTimeoutBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:envoy.service.ext_proc.v3.ProcessingResponse)
}
// @@protoc_insertion_point(class_scope:envoy.service.ext_proc.v3.ProcessingResponse)
private static final io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse();
}
public static io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ProcessingResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy