All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse Maven / Gradle / Ivy

There is a newer version: 1.0.46
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: envoy/service/ext_proc/v3/external_processor.proto

package io.envoyproxy.envoy.service.ext_proc.v3;

/**
 * 
 * For every ProcessingRequest received by the server with the ``async_mode`` field
 * set to false, the server must send back exactly one ProcessingResponse message.
 * [#next-free-field: 10]
 * 
* * 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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ProcessingResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse.Builder subBuilder = null; if (responseCase_ == 1) { subBuilder = ((io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse) response_).toBuilder(); } response_ = input.readMessage(io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse) response_); response_ = subBuilder.buildPartial(); } responseCase_ = 1; break; } case 18: { io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse.Builder subBuilder = null; if (responseCase_ == 2) { subBuilder = ((io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse) response_).toBuilder(); } response_ = input.readMessage(io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((io.envoyproxy.envoy.service.ext_proc.v3.HeadersResponse) response_); response_ = subBuilder.buildPartial(); } responseCase_ = 2; break; } case 26: { io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse.Builder subBuilder = null; if (responseCase_ == 3) { subBuilder = ((io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse) response_).toBuilder(); } response_ = input.readMessage(io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse) response_); response_ = subBuilder.buildPartial(); } responseCase_ = 3; break; } case 34: { io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse.Builder subBuilder = null; if (responseCase_ == 4) { subBuilder = ((io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse) response_).toBuilder(); } response_ = input.readMessage(io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((io.envoyproxy.envoy.service.ext_proc.v3.BodyResponse) response_); response_ = subBuilder.buildPartial(); } responseCase_ = 4; break; } case 42: { io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse.Builder subBuilder = null; if (responseCase_ == 5) { subBuilder = ((io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse) response_).toBuilder(); } response_ = input.readMessage(io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse) response_); response_ = subBuilder.buildPartial(); } responseCase_ = 5; break; } case 50: { io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse.Builder subBuilder = null; if (responseCase_ == 6) { subBuilder = ((io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse) response_).toBuilder(); } response_ = input.readMessage(io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((io.envoyproxy.envoy.service.ext_proc.v3.TrailersResponse) response_); response_ = subBuilder.buildPartial(); } responseCase_ = 6; break; } case 58: { io.envoyproxy.envoy.service.ext_proc.v3.ImmediateResponse.Builder subBuilder = null; if (responseCase_ == 7) { subBuilder = ((io.envoyproxy.envoy.service.ext_proc.v3.ImmediateResponse) response_).toBuilder(); } response_ = input.readMessage(io.envoyproxy.envoy.service.ext_proc.v3.ImmediateResponse.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((io.envoyproxy.envoy.service.ext_proc.v3.ImmediateResponse) response_); response_ = subBuilder.buildPartial(); } responseCase_ = 7; break; } case 66: { com.google.protobuf.Struct.Builder subBuilder = null; if (dynamicMetadata_ != null) { subBuilder = dynamicMetadata_.toBuilder(); } dynamicMetadata_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(dynamicMetadata_); dynamicMetadata_ = subBuilder.buildPartial(); } break; } case 74: { io.envoyproxy.envoy.extensions.filters.http.ext_proc.v3.ProcessingMode.Builder subBuilder = null; if (modeOverride_ != null) { subBuilder = modeOverride_.toBuilder(); } modeOverride_ = input.readMessage(io.envoyproxy.envoy.extensions.filters.http.ext_proc.v3.ProcessingMode.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(modeOverride_); modeOverride_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } 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 responseCase_ = 0; 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_; /** *
   * [#not-implemented-hide:]
   * Optional metadata that will be emitted as dynamic metadata to be consumed by the next
   * filter. This metadata will be placed in the namespace ``envoy.filters.http.ext_proc``.
   * 
* * .google.protobuf.Struct dynamic_metadata = 8; * @return Whether the dynamicMetadata field is set. */ @java.lang.Override public boolean hasDynamicMetadata() { return dynamicMetadata_ != null; } /** *
   * [#not-implemented-hide:]
   * Optional metadata that will be emitted as dynamic metadata to be consumed by the next
   * filter. This metadata will be placed in the namespace ``envoy.filters.http.ext_proc``.
   * 
* * .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_; } /** *
   * [#not-implemented-hide:]
   * Optional metadata that will be emitted as dynamic metadata to be consumed by the next
   * filter. This metadata will be placed in the namespace ``envoy.filters.http.ext_proc``.
   * 
* * .google.protobuf.Struct dynamic_metadata = 8; */ @java.lang.Override public com.google.protobuf.StructOrBuilder getDynamicMetadataOrBuilder() { return getDynamicMetadata(); } 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.
   * 
* * .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 modeOverride_ != null; } /** *
   * 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.
   * 
* * .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.
   * 
* * .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 getModeOverride(); } 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 (dynamicMetadata_ != null) { output.writeMessage(8, getDynamicMetadata()); } if (modeOverride_ != null) { output.writeMessage(9, getModeOverride()); } unknownFields.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 (dynamicMetadata_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getDynamicMetadata()); } if (modeOverride_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getModeOverride()); } size += unknownFields.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 (!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 (!unknownFields.equals(other.unknownFields)) 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(); } 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) + unknownFields.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 ``async_mode`` field
   * set to false, the server must send back exactly one ProcessingResponse message.
   * [#next-free-field: 10]
   * 
* * 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) { } } @java.lang.Override public Builder clear() { super.clear(); if (dynamicMetadataBuilder_ == null) { dynamicMetadata_ = null; } else { dynamicMetadata_ = null; dynamicMetadataBuilder_ = null; } if (modeOverrideBuilder_ == null) { modeOverride_ = null; } else { modeOverride_ = null; modeOverrideBuilder_ = 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 (responseCase_ == 1) { if (requestHeadersBuilder_ == null) { result.response_ = response_; } else { result.response_ = requestHeadersBuilder_.build(); } } if (responseCase_ == 2) { if (responseHeadersBuilder_ == null) { result.response_ = response_; } else { result.response_ = responseHeadersBuilder_.build(); } } if (responseCase_ == 3) { if (requestBodyBuilder_ == null) { result.response_ = response_; } else { result.response_ = requestBodyBuilder_.build(); } } if (responseCase_ == 4) { if (responseBodyBuilder_ == null) { result.response_ = response_; } else { result.response_ = responseBodyBuilder_.build(); } } if (responseCase_ == 5) { if (requestTrailersBuilder_ == null) { result.response_ = response_; } else { result.response_ = requestTrailersBuilder_.build(); } } if (responseCase_ == 6) { if (responseTrailersBuilder_ == null) { result.response_ = response_; } else { result.response_ = responseTrailersBuilder_.build(); } } if (responseCase_ == 7) { if (immediateResponseBuilder_ == null) { result.response_ = response_; } else { result.response_ = immediateResponseBuilder_.build(); } } if (dynamicMetadataBuilder_ == null) { result.dynamicMetadata_ = dynamicMetadata_; } else { result.dynamicMetadata_ = dynamicMetadataBuilder_.build(); } if (modeOverrideBuilder_ == null) { result.modeOverride_ = modeOverride_; } else { result.modeOverride_ = modeOverrideBuilder_.build(); } result.responseCase_ = responseCase_; onBuilt(); return result; } @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()); } 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.unknownFields); 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 { io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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 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_; /** *
     * [#not-implemented-hide:]
     * Optional metadata that will be emitted as dynamic metadata to be consumed by the next
     * filter. This metadata will be placed in the namespace ``envoy.filters.http.ext_proc``.
     * 
* * .google.protobuf.Struct dynamic_metadata = 8; * @return Whether the dynamicMetadata field is set. */ public boolean hasDynamicMetadata() { return dynamicMetadataBuilder_ != null || dynamicMetadata_ != null; } /** *
     * [#not-implemented-hide:]
     * Optional metadata that will be emitted as dynamic metadata to be consumed by the next
     * filter. This metadata will be placed in the namespace ``envoy.filters.http.ext_proc``.
     * 
* * .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(); } } /** *
     * [#not-implemented-hide:]
     * Optional metadata that will be emitted as dynamic metadata to be consumed by the next
     * filter. This metadata will be placed in the namespace ``envoy.filters.http.ext_proc``.
     * 
* * .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; onChanged(); } else { dynamicMetadataBuilder_.setMessage(value); } return this; } /** *
     * [#not-implemented-hide:]
     * Optional metadata that will be emitted as dynamic metadata to be consumed by the next
     * filter. This metadata will be placed in the namespace ``envoy.filters.http.ext_proc``.
     * 
* * .google.protobuf.Struct dynamic_metadata = 8; */ public Builder setDynamicMetadata( com.google.protobuf.Struct.Builder builderForValue) { if (dynamicMetadataBuilder_ == null) { dynamicMetadata_ = builderForValue.build(); onChanged(); } else { dynamicMetadataBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * [#not-implemented-hide:]
     * Optional metadata that will be emitted as dynamic metadata to be consumed by the next
     * filter. This metadata will be placed in the namespace ``envoy.filters.http.ext_proc``.
     * 
* * .google.protobuf.Struct dynamic_metadata = 8; */ public Builder mergeDynamicMetadata(com.google.protobuf.Struct value) { if (dynamicMetadataBuilder_ == null) { if (dynamicMetadata_ != null) { dynamicMetadata_ = com.google.protobuf.Struct.newBuilder(dynamicMetadata_).mergeFrom(value).buildPartial(); } else { dynamicMetadata_ = value; } onChanged(); } else { dynamicMetadataBuilder_.mergeFrom(value); } return this; } /** *
     * [#not-implemented-hide:]
     * Optional metadata that will be emitted as dynamic metadata to be consumed by the next
     * filter. This metadata will be placed in the namespace ``envoy.filters.http.ext_proc``.
     * 
* * .google.protobuf.Struct dynamic_metadata = 8; */ public Builder clearDynamicMetadata() { if (dynamicMetadataBuilder_ == null) { dynamicMetadata_ = null; onChanged(); } else { dynamicMetadata_ = null; dynamicMetadataBuilder_ = null; } return this; } /** *
     * [#not-implemented-hide:]
     * Optional metadata that will be emitted as dynamic metadata to be consumed by the next
     * filter. This metadata will be placed in the namespace ``envoy.filters.http.ext_proc``.
     * 
* * .google.protobuf.Struct dynamic_metadata = 8; */ public com.google.protobuf.Struct.Builder getDynamicMetadataBuilder() { onChanged(); return getDynamicMetadataFieldBuilder().getBuilder(); } /** *
     * [#not-implemented-hide:]
     * Optional metadata that will be emitted as dynamic metadata to be consumed by the next
     * filter. This metadata will be placed in the namespace ``envoy.filters.http.ext_proc``.
     * 
* * .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_; } } /** *
     * [#not-implemented-hide:]
     * Optional metadata that will be emitted as dynamic metadata to be consumed by the next
     * filter. This metadata will be placed in the namespace ``envoy.filters.http.ext_proc``.
     * 
* * .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.
     * 
* * .envoy.extensions.filters.http.ext_proc.v3.ProcessingMode mode_override = 9; * @return Whether the modeOverride field is set. */ public boolean hasModeOverride() { return modeOverrideBuilder_ != null || modeOverride_ != null; } /** *
     * 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.
     * 
* * .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.
     * 
* * .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; onChanged(); } else { modeOverrideBuilder_.setMessage(value); } 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.
     * 
* * .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(); onChanged(); } else { modeOverrideBuilder_.setMessage(builderForValue.build()); } 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.
     * 
* * .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 (modeOverride_ != null) { modeOverride_ = io.envoyproxy.envoy.extensions.filters.http.ext_proc.v3.ProcessingMode.newBuilder(modeOverride_).mergeFrom(value).buildPartial(); } else { modeOverride_ = value; } onChanged(); } else { modeOverrideBuilder_.mergeFrom(value); } 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.
     * 
* * .envoy.extensions.filters.http.ext_proc.v3.ProcessingMode mode_override = 9; */ public Builder clearModeOverride() { if (modeOverrideBuilder_ == null) { modeOverride_ = null; onChanged(); } else { modeOverride_ = null; modeOverrideBuilder_ = null; } 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.
     * 
* * .envoy.extensions.filters.http.ext_proc.v3.ProcessingMode mode_override = 9; */ public io.envoyproxy.envoy.extensions.filters.http.ext_proc.v3.ProcessingMode.Builder getModeOverrideBuilder() { 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.
     * 
* * .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.
     * 
* * .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_; } @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 { return new ProcessingResponse(input, extensionRegistry); } }; 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 - 2024 Weber Informatics LLC | Privacy Policy