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

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

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

// Protobuf Java Version: 3.25.1
package io.envoyproxy.envoy.service.ext_proc.v3;

/**
 * 
 * This represents the different types of messages that Envoy can send
 * to an external processing server.
 * [#next-free-field: 11]
 * 
* * Protobuf type {@code envoy.service.ext_proc.v3.ProcessingRequest} */ public final class ProcessingRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.service.ext_proc.v3.ProcessingRequest) ProcessingRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ProcessingRequest.newBuilder() to construct. private ProcessingRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ProcessingRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ProcessingRequest(); } 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_ProcessingRequest_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( int number) { switch (number) { case 9: return internalGetAttributes(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @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_ProcessingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.service.ext_proc.v3.ProcessingRequest.class, io.envoyproxy.envoy.service.ext_proc.v3.ProcessingRequest.Builder.class); } private int bitField0_; private int requestCase_ = 0; @SuppressWarnings("serial") private java.lang.Object request_; public enum RequestCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { REQUEST_HEADERS(2), RESPONSE_HEADERS(3), REQUEST_BODY(4), RESPONSE_BODY(5), REQUEST_TRAILERS(6), RESPONSE_TRAILERS(7), REQUEST_NOT_SET(0); private final int value; private RequestCase(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 RequestCase valueOf(int value) { return forNumber(value); } public static RequestCase forNumber(int value) { switch (value) { case 2: return REQUEST_HEADERS; case 3: return RESPONSE_HEADERS; case 4: return REQUEST_BODY; case 5: return RESPONSE_BODY; case 6: return REQUEST_TRAILERS; case 7: return RESPONSE_TRAILERS; case 0: return REQUEST_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public RequestCase getRequestCase() { return RequestCase.forNumber( requestCase_); } public static final int REQUEST_HEADERS_FIELD_NUMBER = 2; /** *
   * Information about the HTTP request headers, as well as peer info and additional
   * properties. Unless ``observability_mode`` is ``true``, the server must send back a
   * HeaderResponse message, an ImmediateResponse message, or close the stream.
   * 
* * .envoy.service.ext_proc.v3.HttpHeaders request_headers = 2; * @return Whether the requestHeaders field is set. */ @java.lang.Override public boolean hasRequestHeaders() { return requestCase_ == 2; } /** *
   * Information about the HTTP request headers, as well as peer info and additional
   * properties. Unless ``observability_mode`` is ``true``, the server must send back a
   * HeaderResponse message, an ImmediateResponse message, or close the stream.
   * 
* * .envoy.service.ext_proc.v3.HttpHeaders request_headers = 2; * @return The requestHeaders. */ @java.lang.Override public io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders getRequestHeaders() { if (requestCase_ == 2) { return (io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders) request_; } return io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders.getDefaultInstance(); } /** *
   * Information about the HTTP request headers, as well as peer info and additional
   * properties. Unless ``observability_mode`` is ``true``, the server must send back a
   * HeaderResponse message, an ImmediateResponse message, or close the stream.
   * 
* * .envoy.service.ext_proc.v3.HttpHeaders request_headers = 2; */ @java.lang.Override public io.envoyproxy.envoy.service.ext_proc.v3.HttpHeadersOrBuilder getRequestHeadersOrBuilder() { if (requestCase_ == 2) { return (io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders) request_; } return io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders.getDefaultInstance(); } public static final int RESPONSE_HEADERS_FIELD_NUMBER = 3; /** *
   * Information about the HTTP response headers, as well as peer info and additional
   * properties. Unless ``observability_mode`` is ``true``, the server must send back a
   * HeaderResponse message or close the stream.
   * 
* * .envoy.service.ext_proc.v3.HttpHeaders response_headers = 3; * @return Whether the responseHeaders field is set. */ @java.lang.Override public boolean hasResponseHeaders() { return requestCase_ == 3; } /** *
   * Information about the HTTP response headers, as well as peer info and additional
   * properties. Unless ``observability_mode`` is ``true``, the server must send back a
   * HeaderResponse message or close the stream.
   * 
* * .envoy.service.ext_proc.v3.HttpHeaders response_headers = 3; * @return The responseHeaders. */ @java.lang.Override public io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders getResponseHeaders() { if (requestCase_ == 3) { return (io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders) request_; } return io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders.getDefaultInstance(); } /** *
   * Information about the HTTP response headers, as well as peer info and additional
   * properties. Unless ``observability_mode`` is ``true``, the server must send back a
   * HeaderResponse message or close the stream.
   * 
* * .envoy.service.ext_proc.v3.HttpHeaders response_headers = 3; */ @java.lang.Override public io.envoyproxy.envoy.service.ext_proc.v3.HttpHeadersOrBuilder getResponseHeadersOrBuilder() { if (requestCase_ == 3) { return (io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders) request_; } return io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders.getDefaultInstance(); } public static final int REQUEST_BODY_FIELD_NUMBER = 4; /** *
   * A chunk of the HTTP request body. Unless ``observability_mode`` is true, the server must send back
   * a BodyResponse message, an ImmediateResponse message, or close the stream.
   * 
* * .envoy.service.ext_proc.v3.HttpBody request_body = 4; * @return Whether the requestBody field is set. */ @java.lang.Override public boolean hasRequestBody() { return requestCase_ == 4; } /** *
   * A chunk of the HTTP request body. Unless ``observability_mode`` is true, the server must send back
   * a BodyResponse message, an ImmediateResponse message, or close the stream.
   * 
* * .envoy.service.ext_proc.v3.HttpBody request_body = 4; * @return The requestBody. */ @java.lang.Override public io.envoyproxy.envoy.service.ext_proc.v3.HttpBody getRequestBody() { if (requestCase_ == 4) { return (io.envoyproxy.envoy.service.ext_proc.v3.HttpBody) request_; } return io.envoyproxy.envoy.service.ext_proc.v3.HttpBody.getDefaultInstance(); } /** *
   * A chunk of the HTTP request body. Unless ``observability_mode`` is true, the server must send back
   * a BodyResponse message, an ImmediateResponse message, or close the stream.
   * 
* * .envoy.service.ext_proc.v3.HttpBody request_body = 4; */ @java.lang.Override public io.envoyproxy.envoy.service.ext_proc.v3.HttpBodyOrBuilder getRequestBodyOrBuilder() { if (requestCase_ == 4) { return (io.envoyproxy.envoy.service.ext_proc.v3.HttpBody) request_; } return io.envoyproxy.envoy.service.ext_proc.v3.HttpBody.getDefaultInstance(); } public static final int RESPONSE_BODY_FIELD_NUMBER = 5; /** *
   * A chunk of the HTTP response body. Unless ``observability_mode`` is ``true``, the server must send back
   * a BodyResponse message or close the stream.
   * 
* * .envoy.service.ext_proc.v3.HttpBody response_body = 5; * @return Whether the responseBody field is set. */ @java.lang.Override public boolean hasResponseBody() { return requestCase_ == 5; } /** *
   * A chunk of the HTTP response body. Unless ``observability_mode`` is ``true``, the server must send back
   * a BodyResponse message or close the stream.
   * 
* * .envoy.service.ext_proc.v3.HttpBody response_body = 5; * @return The responseBody. */ @java.lang.Override public io.envoyproxy.envoy.service.ext_proc.v3.HttpBody getResponseBody() { if (requestCase_ == 5) { return (io.envoyproxy.envoy.service.ext_proc.v3.HttpBody) request_; } return io.envoyproxy.envoy.service.ext_proc.v3.HttpBody.getDefaultInstance(); } /** *
   * A chunk of the HTTP response body. Unless ``observability_mode`` is ``true``, the server must send back
   * a BodyResponse message or close the stream.
   * 
* * .envoy.service.ext_proc.v3.HttpBody response_body = 5; */ @java.lang.Override public io.envoyproxy.envoy.service.ext_proc.v3.HttpBodyOrBuilder getResponseBodyOrBuilder() { if (requestCase_ == 5) { return (io.envoyproxy.envoy.service.ext_proc.v3.HttpBody) request_; } return io.envoyproxy.envoy.service.ext_proc.v3.HttpBody.getDefaultInstance(); } public static final int REQUEST_TRAILERS_FIELD_NUMBER = 6; /** *
   * The HTTP trailers for the request path. Unless ``observability_mode`` is ``true``, the server
   * must send back a TrailerResponse message or close the stream.
   *
   * This message is only sent if the trailers processing mode is set to ``SEND`` and
   * the original downstream request has trailers.
   * 
* * .envoy.service.ext_proc.v3.HttpTrailers request_trailers = 6; * @return Whether the requestTrailers field is set. */ @java.lang.Override public boolean hasRequestTrailers() { return requestCase_ == 6; } /** *
   * The HTTP trailers for the request path. Unless ``observability_mode`` is ``true``, the server
   * must send back a TrailerResponse message or close the stream.
   *
   * This message is only sent if the trailers processing mode is set to ``SEND`` and
   * the original downstream request has trailers.
   * 
* * .envoy.service.ext_proc.v3.HttpTrailers request_trailers = 6; * @return The requestTrailers. */ @java.lang.Override public io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers getRequestTrailers() { if (requestCase_ == 6) { return (io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers) request_; } return io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers.getDefaultInstance(); } /** *
   * The HTTP trailers for the request path. Unless ``observability_mode`` is ``true``, the server
   * must send back a TrailerResponse message or close the stream.
   *
   * This message is only sent if the trailers processing mode is set to ``SEND`` and
   * the original downstream request has trailers.
   * 
* * .envoy.service.ext_proc.v3.HttpTrailers request_trailers = 6; */ @java.lang.Override public io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailersOrBuilder getRequestTrailersOrBuilder() { if (requestCase_ == 6) { return (io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers) request_; } return io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers.getDefaultInstance(); } public static final int RESPONSE_TRAILERS_FIELD_NUMBER = 7; /** *
   * The HTTP trailers for the response path. Unless ``observability_mode`` is ``true``, the server
   * must send back a TrailerResponse message or close the stream.
   *
   * This message is only sent if the trailers processing mode is set to ``SEND`` and
   * the original upstream response has trailers.
   * 
* * .envoy.service.ext_proc.v3.HttpTrailers response_trailers = 7; * @return Whether the responseTrailers field is set. */ @java.lang.Override public boolean hasResponseTrailers() { return requestCase_ == 7; } /** *
   * The HTTP trailers for the response path. Unless ``observability_mode`` is ``true``, the server
   * must send back a TrailerResponse message or close the stream.
   *
   * This message is only sent if the trailers processing mode is set to ``SEND`` and
   * the original upstream response has trailers.
   * 
* * .envoy.service.ext_proc.v3.HttpTrailers response_trailers = 7; * @return The responseTrailers. */ @java.lang.Override public io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers getResponseTrailers() { if (requestCase_ == 7) { return (io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers) request_; } return io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers.getDefaultInstance(); } /** *
   * The HTTP trailers for the response path. Unless ``observability_mode`` is ``true``, the server
   * must send back a TrailerResponse message or close the stream.
   *
   * This message is only sent if the trailers processing mode is set to ``SEND`` and
   * the original upstream response has trailers.
   * 
* * .envoy.service.ext_proc.v3.HttpTrailers response_trailers = 7; */ @java.lang.Override public io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailersOrBuilder getResponseTrailersOrBuilder() { if (requestCase_ == 7) { return (io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers) request_; } return io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers.getDefaultInstance(); } public static final int METADATA_CONTEXT_FIELD_NUMBER = 8; private io.envoyproxy.envoy.config.core.v3.Metadata metadataContext_; /** *
   * Dynamic metadata associated with the request.
   * 
* * .envoy.config.core.v3.Metadata metadata_context = 8; * @return Whether the metadataContext field is set. */ @java.lang.Override public boolean hasMetadataContext() { return ((bitField0_ & 0x00000001) != 0); } /** *
   * Dynamic metadata associated with the request.
   * 
* * .envoy.config.core.v3.Metadata metadata_context = 8; * @return The metadataContext. */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.Metadata getMetadataContext() { return metadataContext_ == null ? io.envoyproxy.envoy.config.core.v3.Metadata.getDefaultInstance() : metadataContext_; } /** *
   * Dynamic metadata associated with the request.
   * 
* * .envoy.config.core.v3.Metadata metadata_context = 8; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.MetadataOrBuilder getMetadataContextOrBuilder() { return metadataContext_ == null ? io.envoyproxy.envoy.config.core.v3.Metadata.getDefaultInstance() : metadataContext_; } public static final int ATTRIBUTES_FIELD_NUMBER = 9; private static final class AttributesDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, com.google.protobuf.Struct> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( io.envoyproxy.envoy.service.ext_proc.v3.ExternalProcessorProto.internal_static_envoy_service_ext_proc_v3_ProcessingRequest_AttributesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, com.google.protobuf.Struct.getDefaultInstance()); } @SuppressWarnings("serial") private com.google.protobuf.MapField< java.lang.String, com.google.protobuf.Struct> attributes_; private com.google.protobuf.MapField internalGetAttributes() { if (attributes_ == null) { return com.google.protobuf.MapField.emptyMapField( AttributesDefaultEntryHolder.defaultEntry); } return attributes_; } public int getAttributesCount() { return internalGetAttributes().getMap().size(); } /** *
   * The values of properties selected by the ``request_attributes``
   * or ``response_attributes`` list in the configuration. Each entry
   * in the list is populated from the standard
   * :ref:`attributes <arch_overview_attributes>` supported across Envoy.
   * 
* * map<string, .google.protobuf.Struct> attributes = 9; */ @java.lang.Override public boolean containsAttributes( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetAttributes().getMap().containsKey(key); } /** * Use {@link #getAttributesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAttributes() { return getAttributesMap(); } /** *
   * The values of properties selected by the ``request_attributes``
   * or ``response_attributes`` list in the configuration. Each entry
   * in the list is populated from the standard
   * :ref:`attributes <arch_overview_attributes>` supported across Envoy.
   * 
* * map<string, .google.protobuf.Struct> attributes = 9; */ @java.lang.Override public java.util.Map getAttributesMap() { return internalGetAttributes().getMap(); } /** *
   * The values of properties selected by the ``request_attributes``
   * or ``response_attributes`` list in the configuration. Each entry
   * in the list is populated from the standard
   * :ref:`attributes <arch_overview_attributes>` supported across Envoy.
   * 
* * map<string, .google.protobuf.Struct> attributes = 9; */ @java.lang.Override public /* nullable */ com.google.protobuf.Struct getAttributesOrDefault( java.lang.String key, /* nullable */ com.google.protobuf.Struct defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAttributes().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
   * The values of properties selected by the ``request_attributes``
   * or ``response_attributes`` list in the configuration. Each entry
   * in the list is populated from the standard
   * :ref:`attributes <arch_overview_attributes>` supported across Envoy.
   * 
* * map<string, .google.protobuf.Struct> attributes = 9; */ @java.lang.Override public com.google.protobuf.Struct getAttributesOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAttributes().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int OBSERVABILITY_MODE_FIELD_NUMBER = 10; private boolean observabilityMode_ = false; /** *
   * Specify whether the filter that sent this request is running in :ref:`observability_mode
   * <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.observability_mode>`
   * and defaults to false.
   *
   * * A value of ``false`` indicates that the server must respond
   *   to this message by either sending back a matching ProcessingResponse message,
   *   or by closing the stream.
   * * A value of ``true`` indicates that the server should not respond to this message, as any
   *   responses will be ignored. However, it may still close the stream to indicate that no more messages
   *   are needed.
   * 
* * bool observability_mode = 10; * @return The observabilityMode. */ @java.lang.Override public boolean getObservabilityMode() { return observabilityMode_; } 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 (requestCase_ == 2) { output.writeMessage(2, (io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders) request_); } if (requestCase_ == 3) { output.writeMessage(3, (io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders) request_); } if (requestCase_ == 4) { output.writeMessage(4, (io.envoyproxy.envoy.service.ext_proc.v3.HttpBody) request_); } if (requestCase_ == 5) { output.writeMessage(5, (io.envoyproxy.envoy.service.ext_proc.v3.HttpBody) request_); } if (requestCase_ == 6) { output.writeMessage(6, (io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers) request_); } if (requestCase_ == 7) { output.writeMessage(7, (io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers) request_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(8, getMetadataContext()); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetAttributes(), AttributesDefaultEntryHolder.defaultEntry, 9); if (observabilityMode_ != false) { output.writeBool(10, observabilityMode_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (requestCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders) request_); } if (requestCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, (io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders) request_); } if (requestCase_ == 4) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, (io.envoyproxy.envoy.service.ext_proc.v3.HttpBody) request_); } if (requestCase_ == 5) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, (io.envoyproxy.envoy.service.ext_proc.v3.HttpBody) request_); } if (requestCase_ == 6) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, (io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers) request_); } if (requestCase_ == 7) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, (io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers) request_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getMetadataContext()); } for (java.util.Map.Entry entry : internalGetAttributes().getMap().entrySet()) { com.google.protobuf.MapEntry attributes__ = AttributesDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, attributes__); } if (observabilityMode_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(10, observabilityMode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.envoyproxy.envoy.service.ext_proc.v3.ProcessingRequest)) { return super.equals(obj); } io.envoyproxy.envoy.service.ext_proc.v3.ProcessingRequest other = (io.envoyproxy.envoy.service.ext_proc.v3.ProcessingRequest) obj; if (hasMetadataContext() != other.hasMetadataContext()) return false; if (hasMetadataContext()) { if (!getMetadataContext() .equals(other.getMetadataContext())) return false; } if (!internalGetAttributes().equals( other.internalGetAttributes())) return false; if (getObservabilityMode() != other.getObservabilityMode()) return false; if (!getRequestCase().equals(other.getRequestCase())) return false; switch (requestCase_) { case 2: if (!getRequestHeaders() .equals(other.getRequestHeaders())) return false; break; case 3: if (!getResponseHeaders() .equals(other.getResponseHeaders())) return false; break; case 4: if (!getRequestBody() .equals(other.getRequestBody())) return false; break; case 5: if (!getResponseBody() .equals(other.getResponseBody())) return false; break; case 6: if (!getRequestTrailers() .equals(other.getRequestTrailers())) return false; break; case 7: if (!getResponseTrailers() .equals(other.getResponseTrailers())) return false; break; case 0: default: } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasMetadataContext()) { hash = (37 * hash) + METADATA_CONTEXT_FIELD_NUMBER; hash = (53 * hash) + getMetadataContext().hashCode(); } if (!internalGetAttributes().getMap().isEmpty()) { hash = (37 * hash) + ATTRIBUTES_FIELD_NUMBER; hash = (53 * hash) + internalGetAttributes().hashCode(); } hash = (37 * hash) + OBSERVABILITY_MODE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getObservabilityMode()); switch (requestCase_) { case 2: hash = (37 * hash) + REQUEST_HEADERS_FIELD_NUMBER; hash = (53 * hash) + getRequestHeaders().hashCode(); break; case 3: hash = (37 * hash) + RESPONSE_HEADERS_FIELD_NUMBER; hash = (53 * hash) + getResponseHeaders().hashCode(); break; case 4: hash = (37 * hash) + REQUEST_BODY_FIELD_NUMBER; hash = (53 * hash) + getRequestBody().hashCode(); break; case 5: hash = (37 * hash) + RESPONSE_BODY_FIELD_NUMBER; hash = (53 * hash) + getResponseBody().hashCode(); break; case 6: hash = (37 * hash) + REQUEST_TRAILERS_FIELD_NUMBER; hash = (53 * hash) + getRequestTrailers().hashCode(); break; case 7: hash = (37 * hash) + RESPONSE_TRAILERS_FIELD_NUMBER; hash = (53 * hash) + getResponseTrailers().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.service.ext_proc.v3.ProcessingRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.service.ext_proc.v3.ProcessingRequest 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.ProcessingRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.service.ext_proc.v3.ProcessingRequest 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.ProcessingRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.service.ext_proc.v3.ProcessingRequest 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.ProcessingRequest 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.ProcessingRequest 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.ProcessingRequest 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.ProcessingRequest 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.ProcessingRequest 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.ProcessingRequest 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.ProcessingRequest 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; } /** *
   * This represents the different types of messages that Envoy can send
   * to an external processing server.
   * [#next-free-field: 11]
   * 
* * Protobuf type {@code envoy.service.ext_proc.v3.ProcessingRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.service.ext_proc.v3.ProcessingRequest) io.envoyproxy.envoy.service.ext_proc.v3.ProcessingRequestOrBuilder { 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_ProcessingRequest_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( int number) { switch (number) { case 9: return internalGetAttributes(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( int number) { switch (number) { case 9: return internalGetMutableAttributes(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @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_ProcessingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.service.ext_proc.v3.ProcessingRequest.class, io.envoyproxy.envoy.service.ext_proc.v3.ProcessingRequest.Builder.class); } // Construct using io.envoyproxy.envoy.service.ext_proc.v3.ProcessingRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getMetadataContextFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (requestHeadersBuilder_ != null) { requestHeadersBuilder_.clear(); } if (responseHeadersBuilder_ != null) { responseHeadersBuilder_.clear(); } if (requestBodyBuilder_ != null) { requestBodyBuilder_.clear(); } if (responseBodyBuilder_ != null) { responseBodyBuilder_.clear(); } if (requestTrailersBuilder_ != null) { requestTrailersBuilder_.clear(); } if (responseTrailersBuilder_ != null) { responseTrailersBuilder_.clear(); } metadataContext_ = null; if (metadataContextBuilder_ != null) { metadataContextBuilder_.dispose(); metadataContextBuilder_ = null; } internalGetMutableAttributes().clear(); observabilityMode_ = false; requestCase_ = 0; request_ = 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_ProcessingRequest_descriptor; } @java.lang.Override public io.envoyproxy.envoy.service.ext_proc.v3.ProcessingRequest getDefaultInstanceForType() { return io.envoyproxy.envoy.service.ext_proc.v3.ProcessingRequest.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.service.ext_proc.v3.ProcessingRequest build() { io.envoyproxy.envoy.service.ext_proc.v3.ProcessingRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.service.ext_proc.v3.ProcessingRequest buildPartial() { io.envoyproxy.envoy.service.ext_proc.v3.ProcessingRequest result = new io.envoyproxy.envoy.service.ext_proc.v3.ProcessingRequest(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(io.envoyproxy.envoy.service.ext_proc.v3.ProcessingRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000040) != 0)) { result.metadataContext_ = metadataContextBuilder_ == null ? metadataContext_ : metadataContextBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000080) != 0)) { result.attributes_ = internalGetAttributes().build(AttributesDefaultEntryHolder.defaultEntry); } if (((from_bitField0_ & 0x00000100) != 0)) { result.observabilityMode_ = observabilityMode_; } result.bitField0_ |= to_bitField0_; } private void buildPartialOneofs(io.envoyproxy.envoy.service.ext_proc.v3.ProcessingRequest result) { result.requestCase_ = requestCase_; result.request_ = this.request_; if (requestCase_ == 2 && requestHeadersBuilder_ != null) { result.request_ = requestHeadersBuilder_.build(); } if (requestCase_ == 3 && responseHeadersBuilder_ != null) { result.request_ = responseHeadersBuilder_.build(); } if (requestCase_ == 4 && requestBodyBuilder_ != null) { result.request_ = requestBodyBuilder_.build(); } if (requestCase_ == 5 && responseBodyBuilder_ != null) { result.request_ = responseBodyBuilder_.build(); } if (requestCase_ == 6 && requestTrailersBuilder_ != null) { result.request_ = requestTrailersBuilder_.build(); } if (requestCase_ == 7 && responseTrailersBuilder_ != null) { result.request_ = responseTrailersBuilder_.build(); } } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.envoyproxy.envoy.service.ext_proc.v3.ProcessingRequest) { return mergeFrom((io.envoyproxy.envoy.service.ext_proc.v3.ProcessingRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.service.ext_proc.v3.ProcessingRequest other) { if (other == io.envoyproxy.envoy.service.ext_proc.v3.ProcessingRequest.getDefaultInstance()) return this; if (other.hasMetadataContext()) { mergeMetadataContext(other.getMetadataContext()); } internalGetMutableAttributes().mergeFrom( other.internalGetAttributes()); bitField0_ |= 0x00000080; if (other.getObservabilityMode() != false) { setObservabilityMode(other.getObservabilityMode()); } switch (other.getRequestCase()) { 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 REQUEST_NOT_SET: { break; } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 18: { input.readMessage( getRequestHeadersFieldBuilder().getBuilder(), extensionRegistry); requestCase_ = 2; break; } // case 18 case 26: { input.readMessage( getResponseHeadersFieldBuilder().getBuilder(), extensionRegistry); requestCase_ = 3; break; } // case 26 case 34: { input.readMessage( getRequestBodyFieldBuilder().getBuilder(), extensionRegistry); requestCase_ = 4; break; } // case 34 case 42: { input.readMessage( getResponseBodyFieldBuilder().getBuilder(), extensionRegistry); requestCase_ = 5; break; } // case 42 case 50: { input.readMessage( getRequestTrailersFieldBuilder().getBuilder(), extensionRegistry); requestCase_ = 6; break; } // case 50 case 58: { input.readMessage( getResponseTrailersFieldBuilder().getBuilder(), extensionRegistry); requestCase_ = 7; break; } // case 58 case 66: { input.readMessage( getMetadataContextFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000040; break; } // case 66 case 74: { com.google.protobuf.MapEntry attributes__ = input.readMessage( AttributesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); internalGetMutableAttributes().ensureBuilderMap().put( attributes__.getKey(), attributes__.getValue()); bitField0_ |= 0x00000080; break; } // case 74 case 80: { observabilityMode_ = input.readBool(); bitField0_ |= 0x00000100; break; } // case 80 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int requestCase_ = 0; private java.lang.Object request_; public RequestCase getRequestCase() { return RequestCase.forNumber( requestCase_); } public Builder clearRequest() { requestCase_ = 0; request_ = null; onChanged(); return this; } private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders, io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders.Builder, io.envoyproxy.envoy.service.ext_proc.v3.HttpHeadersOrBuilder> requestHeadersBuilder_; /** *
     * Information about the HTTP request headers, as well as peer info and additional
     * properties. Unless ``observability_mode`` is ``true``, the server must send back a
     * HeaderResponse message, an ImmediateResponse message, or close the stream.
     * 
* * .envoy.service.ext_proc.v3.HttpHeaders request_headers = 2; * @return Whether the requestHeaders field is set. */ @java.lang.Override public boolean hasRequestHeaders() { return requestCase_ == 2; } /** *
     * Information about the HTTP request headers, as well as peer info and additional
     * properties. Unless ``observability_mode`` is ``true``, the server must send back a
     * HeaderResponse message, an ImmediateResponse message, or close the stream.
     * 
* * .envoy.service.ext_proc.v3.HttpHeaders request_headers = 2; * @return The requestHeaders. */ @java.lang.Override public io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders getRequestHeaders() { if (requestHeadersBuilder_ == null) { if (requestCase_ == 2) { return (io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders) request_; } return io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders.getDefaultInstance(); } else { if (requestCase_ == 2) { return requestHeadersBuilder_.getMessage(); } return io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders.getDefaultInstance(); } } /** *
     * Information about the HTTP request headers, as well as peer info and additional
     * properties. Unless ``observability_mode`` is ``true``, the server must send back a
     * HeaderResponse message, an ImmediateResponse message, or close the stream.
     * 
* * .envoy.service.ext_proc.v3.HttpHeaders request_headers = 2; */ public Builder setRequestHeaders(io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders value) { if (requestHeadersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } request_ = value; onChanged(); } else { requestHeadersBuilder_.setMessage(value); } requestCase_ = 2; return this; } /** *
     * Information about the HTTP request headers, as well as peer info and additional
     * properties. Unless ``observability_mode`` is ``true``, the server must send back a
     * HeaderResponse message, an ImmediateResponse message, or close the stream.
     * 
* * .envoy.service.ext_proc.v3.HttpHeaders request_headers = 2; */ public Builder setRequestHeaders( io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders.Builder builderForValue) { if (requestHeadersBuilder_ == null) { request_ = builderForValue.build(); onChanged(); } else { requestHeadersBuilder_.setMessage(builderForValue.build()); } requestCase_ = 2; return this; } /** *
     * Information about the HTTP request headers, as well as peer info and additional
     * properties. Unless ``observability_mode`` is ``true``, the server must send back a
     * HeaderResponse message, an ImmediateResponse message, or close the stream.
     * 
* * .envoy.service.ext_proc.v3.HttpHeaders request_headers = 2; */ public Builder mergeRequestHeaders(io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders value) { if (requestHeadersBuilder_ == null) { if (requestCase_ == 2 && request_ != io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders.getDefaultInstance()) { request_ = io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders.newBuilder((io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders) request_) .mergeFrom(value).buildPartial(); } else { request_ = value; } onChanged(); } else { if (requestCase_ == 2) { requestHeadersBuilder_.mergeFrom(value); } else { requestHeadersBuilder_.setMessage(value); } } requestCase_ = 2; return this; } /** *
     * Information about the HTTP request headers, as well as peer info and additional
     * properties. Unless ``observability_mode`` is ``true``, the server must send back a
     * HeaderResponse message, an ImmediateResponse message, or close the stream.
     * 
* * .envoy.service.ext_proc.v3.HttpHeaders request_headers = 2; */ public Builder clearRequestHeaders() { if (requestHeadersBuilder_ == null) { if (requestCase_ == 2) { requestCase_ = 0; request_ = null; onChanged(); } } else { if (requestCase_ == 2) { requestCase_ = 0; request_ = null; } requestHeadersBuilder_.clear(); } return this; } /** *
     * Information about the HTTP request headers, as well as peer info and additional
     * properties. Unless ``observability_mode`` is ``true``, the server must send back a
     * HeaderResponse message, an ImmediateResponse message, or close the stream.
     * 
* * .envoy.service.ext_proc.v3.HttpHeaders request_headers = 2; */ public io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders.Builder getRequestHeadersBuilder() { return getRequestHeadersFieldBuilder().getBuilder(); } /** *
     * Information about the HTTP request headers, as well as peer info and additional
     * properties. Unless ``observability_mode`` is ``true``, the server must send back a
     * HeaderResponse message, an ImmediateResponse message, or close the stream.
     * 
* * .envoy.service.ext_proc.v3.HttpHeaders request_headers = 2; */ @java.lang.Override public io.envoyproxy.envoy.service.ext_proc.v3.HttpHeadersOrBuilder getRequestHeadersOrBuilder() { if ((requestCase_ == 2) && (requestHeadersBuilder_ != null)) { return requestHeadersBuilder_.getMessageOrBuilder(); } else { if (requestCase_ == 2) { return (io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders) request_; } return io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders.getDefaultInstance(); } } /** *
     * Information about the HTTP request headers, as well as peer info and additional
     * properties. Unless ``observability_mode`` is ``true``, the server must send back a
     * HeaderResponse message, an ImmediateResponse message, or close the stream.
     * 
* * .envoy.service.ext_proc.v3.HttpHeaders request_headers = 2; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders, io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders.Builder, io.envoyproxy.envoy.service.ext_proc.v3.HttpHeadersOrBuilder> getRequestHeadersFieldBuilder() { if (requestHeadersBuilder_ == null) { if (!(requestCase_ == 2)) { request_ = io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders.getDefaultInstance(); } requestHeadersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders, io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders.Builder, io.envoyproxy.envoy.service.ext_proc.v3.HttpHeadersOrBuilder>( (io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders) request_, getParentForChildren(), isClean()); request_ = null; } requestCase_ = 2; onChanged(); return requestHeadersBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders, io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders.Builder, io.envoyproxy.envoy.service.ext_proc.v3.HttpHeadersOrBuilder> responseHeadersBuilder_; /** *
     * Information about the HTTP response headers, as well as peer info and additional
     * properties. Unless ``observability_mode`` is ``true``, the server must send back a
     * HeaderResponse message or close the stream.
     * 
* * .envoy.service.ext_proc.v3.HttpHeaders response_headers = 3; * @return Whether the responseHeaders field is set. */ @java.lang.Override public boolean hasResponseHeaders() { return requestCase_ == 3; } /** *
     * Information about the HTTP response headers, as well as peer info and additional
     * properties. Unless ``observability_mode`` is ``true``, the server must send back a
     * HeaderResponse message or close the stream.
     * 
* * .envoy.service.ext_proc.v3.HttpHeaders response_headers = 3; * @return The responseHeaders. */ @java.lang.Override public io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders getResponseHeaders() { if (responseHeadersBuilder_ == null) { if (requestCase_ == 3) { return (io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders) request_; } return io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders.getDefaultInstance(); } else { if (requestCase_ == 3) { return responseHeadersBuilder_.getMessage(); } return io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders.getDefaultInstance(); } } /** *
     * Information about the HTTP response headers, as well as peer info and additional
     * properties. Unless ``observability_mode`` is ``true``, the server must send back a
     * HeaderResponse message or close the stream.
     * 
* * .envoy.service.ext_proc.v3.HttpHeaders response_headers = 3; */ public Builder setResponseHeaders(io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders value) { if (responseHeadersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } request_ = value; onChanged(); } else { responseHeadersBuilder_.setMessage(value); } requestCase_ = 3; return this; } /** *
     * Information about the HTTP response headers, as well as peer info and additional
     * properties. Unless ``observability_mode`` is ``true``, the server must send back a
     * HeaderResponse message or close the stream.
     * 
* * .envoy.service.ext_proc.v3.HttpHeaders response_headers = 3; */ public Builder setResponseHeaders( io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders.Builder builderForValue) { if (responseHeadersBuilder_ == null) { request_ = builderForValue.build(); onChanged(); } else { responseHeadersBuilder_.setMessage(builderForValue.build()); } requestCase_ = 3; return this; } /** *
     * Information about the HTTP response headers, as well as peer info and additional
     * properties. Unless ``observability_mode`` is ``true``, the server must send back a
     * HeaderResponse message or close the stream.
     * 
* * .envoy.service.ext_proc.v3.HttpHeaders response_headers = 3; */ public Builder mergeResponseHeaders(io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders value) { if (responseHeadersBuilder_ == null) { if (requestCase_ == 3 && request_ != io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders.getDefaultInstance()) { request_ = io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders.newBuilder((io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders) request_) .mergeFrom(value).buildPartial(); } else { request_ = value; } onChanged(); } else { if (requestCase_ == 3) { responseHeadersBuilder_.mergeFrom(value); } else { responseHeadersBuilder_.setMessage(value); } } requestCase_ = 3; return this; } /** *
     * Information about the HTTP response headers, as well as peer info and additional
     * properties. Unless ``observability_mode`` is ``true``, the server must send back a
     * HeaderResponse message or close the stream.
     * 
* * .envoy.service.ext_proc.v3.HttpHeaders response_headers = 3; */ public Builder clearResponseHeaders() { if (responseHeadersBuilder_ == null) { if (requestCase_ == 3) { requestCase_ = 0; request_ = null; onChanged(); } } else { if (requestCase_ == 3) { requestCase_ = 0; request_ = null; } responseHeadersBuilder_.clear(); } return this; } /** *
     * Information about the HTTP response headers, as well as peer info and additional
     * properties. Unless ``observability_mode`` is ``true``, the server must send back a
     * HeaderResponse message or close the stream.
     * 
* * .envoy.service.ext_proc.v3.HttpHeaders response_headers = 3; */ public io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders.Builder getResponseHeadersBuilder() { return getResponseHeadersFieldBuilder().getBuilder(); } /** *
     * Information about the HTTP response headers, as well as peer info and additional
     * properties. Unless ``observability_mode`` is ``true``, the server must send back a
     * HeaderResponse message or close the stream.
     * 
* * .envoy.service.ext_proc.v3.HttpHeaders response_headers = 3; */ @java.lang.Override public io.envoyproxy.envoy.service.ext_proc.v3.HttpHeadersOrBuilder getResponseHeadersOrBuilder() { if ((requestCase_ == 3) && (responseHeadersBuilder_ != null)) { return responseHeadersBuilder_.getMessageOrBuilder(); } else { if (requestCase_ == 3) { return (io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders) request_; } return io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders.getDefaultInstance(); } } /** *
     * Information about the HTTP response headers, as well as peer info and additional
     * properties. Unless ``observability_mode`` is ``true``, the server must send back a
     * HeaderResponse message or close the stream.
     * 
* * .envoy.service.ext_proc.v3.HttpHeaders response_headers = 3; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders, io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders.Builder, io.envoyproxy.envoy.service.ext_proc.v3.HttpHeadersOrBuilder> getResponseHeadersFieldBuilder() { if (responseHeadersBuilder_ == null) { if (!(requestCase_ == 3)) { request_ = io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders.getDefaultInstance(); } responseHeadersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders, io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders.Builder, io.envoyproxy.envoy.service.ext_proc.v3.HttpHeadersOrBuilder>( (io.envoyproxy.envoy.service.ext_proc.v3.HttpHeaders) request_, getParentForChildren(), isClean()); request_ = null; } requestCase_ = 3; onChanged(); return responseHeadersBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.service.ext_proc.v3.HttpBody, io.envoyproxy.envoy.service.ext_proc.v3.HttpBody.Builder, io.envoyproxy.envoy.service.ext_proc.v3.HttpBodyOrBuilder> requestBodyBuilder_; /** *
     * A chunk of the HTTP request body. Unless ``observability_mode`` is true, the server must send back
     * a BodyResponse message, an ImmediateResponse message, or close the stream.
     * 
* * .envoy.service.ext_proc.v3.HttpBody request_body = 4; * @return Whether the requestBody field is set. */ @java.lang.Override public boolean hasRequestBody() { return requestCase_ == 4; } /** *
     * A chunk of the HTTP request body. Unless ``observability_mode`` is true, the server must send back
     * a BodyResponse message, an ImmediateResponse message, or close the stream.
     * 
* * .envoy.service.ext_proc.v3.HttpBody request_body = 4; * @return The requestBody. */ @java.lang.Override public io.envoyproxy.envoy.service.ext_proc.v3.HttpBody getRequestBody() { if (requestBodyBuilder_ == null) { if (requestCase_ == 4) { return (io.envoyproxy.envoy.service.ext_proc.v3.HttpBody) request_; } return io.envoyproxy.envoy.service.ext_proc.v3.HttpBody.getDefaultInstance(); } else { if (requestCase_ == 4) { return requestBodyBuilder_.getMessage(); } return io.envoyproxy.envoy.service.ext_proc.v3.HttpBody.getDefaultInstance(); } } /** *
     * A chunk of the HTTP request body. Unless ``observability_mode`` is true, the server must send back
     * a BodyResponse message, an ImmediateResponse message, or close the stream.
     * 
* * .envoy.service.ext_proc.v3.HttpBody request_body = 4; */ public Builder setRequestBody(io.envoyproxy.envoy.service.ext_proc.v3.HttpBody value) { if (requestBodyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } request_ = value; onChanged(); } else { requestBodyBuilder_.setMessage(value); } requestCase_ = 4; return this; } /** *
     * A chunk of the HTTP request body. Unless ``observability_mode`` is true, the server must send back
     * a BodyResponse message, an ImmediateResponse message, or close the stream.
     * 
* * .envoy.service.ext_proc.v3.HttpBody request_body = 4; */ public Builder setRequestBody( io.envoyproxy.envoy.service.ext_proc.v3.HttpBody.Builder builderForValue) { if (requestBodyBuilder_ == null) { request_ = builderForValue.build(); onChanged(); } else { requestBodyBuilder_.setMessage(builderForValue.build()); } requestCase_ = 4; return this; } /** *
     * A chunk of the HTTP request body. Unless ``observability_mode`` is true, the server must send back
     * a BodyResponse message, an ImmediateResponse message, or close the stream.
     * 
* * .envoy.service.ext_proc.v3.HttpBody request_body = 4; */ public Builder mergeRequestBody(io.envoyproxy.envoy.service.ext_proc.v3.HttpBody value) { if (requestBodyBuilder_ == null) { if (requestCase_ == 4 && request_ != io.envoyproxy.envoy.service.ext_proc.v3.HttpBody.getDefaultInstance()) { request_ = io.envoyproxy.envoy.service.ext_proc.v3.HttpBody.newBuilder((io.envoyproxy.envoy.service.ext_proc.v3.HttpBody) request_) .mergeFrom(value).buildPartial(); } else { request_ = value; } onChanged(); } else { if (requestCase_ == 4) { requestBodyBuilder_.mergeFrom(value); } else { requestBodyBuilder_.setMessage(value); } } requestCase_ = 4; return this; } /** *
     * A chunk of the HTTP request body. Unless ``observability_mode`` is true, the server must send back
     * a BodyResponse message, an ImmediateResponse message, or close the stream.
     * 
* * .envoy.service.ext_proc.v3.HttpBody request_body = 4; */ public Builder clearRequestBody() { if (requestBodyBuilder_ == null) { if (requestCase_ == 4) { requestCase_ = 0; request_ = null; onChanged(); } } else { if (requestCase_ == 4) { requestCase_ = 0; request_ = null; } requestBodyBuilder_.clear(); } return this; } /** *
     * A chunk of the HTTP request body. Unless ``observability_mode`` is true, the server must send back
     * a BodyResponse message, an ImmediateResponse message, or close the stream.
     * 
* * .envoy.service.ext_proc.v3.HttpBody request_body = 4; */ public io.envoyproxy.envoy.service.ext_proc.v3.HttpBody.Builder getRequestBodyBuilder() { return getRequestBodyFieldBuilder().getBuilder(); } /** *
     * A chunk of the HTTP request body. Unless ``observability_mode`` is true, the server must send back
     * a BodyResponse message, an ImmediateResponse message, or close the stream.
     * 
* * .envoy.service.ext_proc.v3.HttpBody request_body = 4; */ @java.lang.Override public io.envoyproxy.envoy.service.ext_proc.v3.HttpBodyOrBuilder getRequestBodyOrBuilder() { if ((requestCase_ == 4) && (requestBodyBuilder_ != null)) { return requestBodyBuilder_.getMessageOrBuilder(); } else { if (requestCase_ == 4) { return (io.envoyproxy.envoy.service.ext_proc.v3.HttpBody) request_; } return io.envoyproxy.envoy.service.ext_proc.v3.HttpBody.getDefaultInstance(); } } /** *
     * A chunk of the HTTP request body. Unless ``observability_mode`` is true, the server must send back
     * a BodyResponse message, an ImmediateResponse message, or close the stream.
     * 
* * .envoy.service.ext_proc.v3.HttpBody request_body = 4; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.service.ext_proc.v3.HttpBody, io.envoyproxy.envoy.service.ext_proc.v3.HttpBody.Builder, io.envoyproxy.envoy.service.ext_proc.v3.HttpBodyOrBuilder> getRequestBodyFieldBuilder() { if (requestBodyBuilder_ == null) { if (!(requestCase_ == 4)) { request_ = io.envoyproxy.envoy.service.ext_proc.v3.HttpBody.getDefaultInstance(); } requestBodyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.service.ext_proc.v3.HttpBody, io.envoyproxy.envoy.service.ext_proc.v3.HttpBody.Builder, io.envoyproxy.envoy.service.ext_proc.v3.HttpBodyOrBuilder>( (io.envoyproxy.envoy.service.ext_proc.v3.HttpBody) request_, getParentForChildren(), isClean()); request_ = null; } requestCase_ = 4; onChanged(); return requestBodyBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.service.ext_proc.v3.HttpBody, io.envoyproxy.envoy.service.ext_proc.v3.HttpBody.Builder, io.envoyproxy.envoy.service.ext_proc.v3.HttpBodyOrBuilder> responseBodyBuilder_; /** *
     * A chunk of the HTTP response body. Unless ``observability_mode`` is ``true``, the server must send back
     * a BodyResponse message or close the stream.
     * 
* * .envoy.service.ext_proc.v3.HttpBody response_body = 5; * @return Whether the responseBody field is set. */ @java.lang.Override public boolean hasResponseBody() { return requestCase_ == 5; } /** *
     * A chunk of the HTTP response body. Unless ``observability_mode`` is ``true``, the server must send back
     * a BodyResponse message or close the stream.
     * 
* * .envoy.service.ext_proc.v3.HttpBody response_body = 5; * @return The responseBody. */ @java.lang.Override public io.envoyproxy.envoy.service.ext_proc.v3.HttpBody getResponseBody() { if (responseBodyBuilder_ == null) { if (requestCase_ == 5) { return (io.envoyproxy.envoy.service.ext_proc.v3.HttpBody) request_; } return io.envoyproxy.envoy.service.ext_proc.v3.HttpBody.getDefaultInstance(); } else { if (requestCase_ == 5) { return responseBodyBuilder_.getMessage(); } return io.envoyproxy.envoy.service.ext_proc.v3.HttpBody.getDefaultInstance(); } } /** *
     * A chunk of the HTTP response body. Unless ``observability_mode`` is ``true``, the server must send back
     * a BodyResponse message or close the stream.
     * 
* * .envoy.service.ext_proc.v3.HttpBody response_body = 5; */ public Builder setResponseBody(io.envoyproxy.envoy.service.ext_proc.v3.HttpBody value) { if (responseBodyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } request_ = value; onChanged(); } else { responseBodyBuilder_.setMessage(value); } requestCase_ = 5; return this; } /** *
     * A chunk of the HTTP response body. Unless ``observability_mode`` is ``true``, the server must send back
     * a BodyResponse message or close the stream.
     * 
* * .envoy.service.ext_proc.v3.HttpBody response_body = 5; */ public Builder setResponseBody( io.envoyproxy.envoy.service.ext_proc.v3.HttpBody.Builder builderForValue) { if (responseBodyBuilder_ == null) { request_ = builderForValue.build(); onChanged(); } else { responseBodyBuilder_.setMessage(builderForValue.build()); } requestCase_ = 5; return this; } /** *
     * A chunk of the HTTP response body. Unless ``observability_mode`` is ``true``, the server must send back
     * a BodyResponse message or close the stream.
     * 
* * .envoy.service.ext_proc.v3.HttpBody response_body = 5; */ public Builder mergeResponseBody(io.envoyproxy.envoy.service.ext_proc.v3.HttpBody value) { if (responseBodyBuilder_ == null) { if (requestCase_ == 5 && request_ != io.envoyproxy.envoy.service.ext_proc.v3.HttpBody.getDefaultInstance()) { request_ = io.envoyproxy.envoy.service.ext_proc.v3.HttpBody.newBuilder((io.envoyproxy.envoy.service.ext_proc.v3.HttpBody) request_) .mergeFrom(value).buildPartial(); } else { request_ = value; } onChanged(); } else { if (requestCase_ == 5) { responseBodyBuilder_.mergeFrom(value); } else { responseBodyBuilder_.setMessage(value); } } requestCase_ = 5; return this; } /** *
     * A chunk of the HTTP response body. Unless ``observability_mode`` is ``true``, the server must send back
     * a BodyResponse message or close the stream.
     * 
* * .envoy.service.ext_proc.v3.HttpBody response_body = 5; */ public Builder clearResponseBody() { if (responseBodyBuilder_ == null) { if (requestCase_ == 5) { requestCase_ = 0; request_ = null; onChanged(); } } else { if (requestCase_ == 5) { requestCase_ = 0; request_ = null; } responseBodyBuilder_.clear(); } return this; } /** *
     * A chunk of the HTTP response body. Unless ``observability_mode`` is ``true``, the server must send back
     * a BodyResponse message or close the stream.
     * 
* * .envoy.service.ext_proc.v3.HttpBody response_body = 5; */ public io.envoyproxy.envoy.service.ext_proc.v3.HttpBody.Builder getResponseBodyBuilder() { return getResponseBodyFieldBuilder().getBuilder(); } /** *
     * A chunk of the HTTP response body. Unless ``observability_mode`` is ``true``, the server must send back
     * a BodyResponse message or close the stream.
     * 
* * .envoy.service.ext_proc.v3.HttpBody response_body = 5; */ @java.lang.Override public io.envoyproxy.envoy.service.ext_proc.v3.HttpBodyOrBuilder getResponseBodyOrBuilder() { if ((requestCase_ == 5) && (responseBodyBuilder_ != null)) { return responseBodyBuilder_.getMessageOrBuilder(); } else { if (requestCase_ == 5) { return (io.envoyproxy.envoy.service.ext_proc.v3.HttpBody) request_; } return io.envoyproxy.envoy.service.ext_proc.v3.HttpBody.getDefaultInstance(); } } /** *
     * A chunk of the HTTP response body. Unless ``observability_mode`` is ``true``, the server must send back
     * a BodyResponse message or close the stream.
     * 
* * .envoy.service.ext_proc.v3.HttpBody response_body = 5; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.service.ext_proc.v3.HttpBody, io.envoyproxy.envoy.service.ext_proc.v3.HttpBody.Builder, io.envoyproxy.envoy.service.ext_proc.v3.HttpBodyOrBuilder> getResponseBodyFieldBuilder() { if (responseBodyBuilder_ == null) { if (!(requestCase_ == 5)) { request_ = io.envoyproxy.envoy.service.ext_proc.v3.HttpBody.getDefaultInstance(); } responseBodyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.service.ext_proc.v3.HttpBody, io.envoyproxy.envoy.service.ext_proc.v3.HttpBody.Builder, io.envoyproxy.envoy.service.ext_proc.v3.HttpBodyOrBuilder>( (io.envoyproxy.envoy.service.ext_proc.v3.HttpBody) request_, getParentForChildren(), isClean()); request_ = null; } requestCase_ = 5; onChanged(); return responseBodyBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers, io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers.Builder, io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailersOrBuilder> requestTrailersBuilder_; /** *
     * The HTTP trailers for the request path. Unless ``observability_mode`` is ``true``, the server
     * must send back a TrailerResponse message or close the stream.
     *
     * This message is only sent if the trailers processing mode is set to ``SEND`` and
     * the original downstream request has trailers.
     * 
* * .envoy.service.ext_proc.v3.HttpTrailers request_trailers = 6; * @return Whether the requestTrailers field is set. */ @java.lang.Override public boolean hasRequestTrailers() { return requestCase_ == 6; } /** *
     * The HTTP trailers for the request path. Unless ``observability_mode`` is ``true``, the server
     * must send back a TrailerResponse message or close the stream.
     *
     * This message is only sent if the trailers processing mode is set to ``SEND`` and
     * the original downstream request has trailers.
     * 
* * .envoy.service.ext_proc.v3.HttpTrailers request_trailers = 6; * @return The requestTrailers. */ @java.lang.Override public io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers getRequestTrailers() { if (requestTrailersBuilder_ == null) { if (requestCase_ == 6) { return (io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers) request_; } return io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers.getDefaultInstance(); } else { if (requestCase_ == 6) { return requestTrailersBuilder_.getMessage(); } return io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers.getDefaultInstance(); } } /** *
     * The HTTP trailers for the request path. Unless ``observability_mode`` is ``true``, the server
     * must send back a TrailerResponse message or close the stream.
     *
     * This message is only sent if the trailers processing mode is set to ``SEND`` and
     * the original downstream request has trailers.
     * 
* * .envoy.service.ext_proc.v3.HttpTrailers request_trailers = 6; */ public Builder setRequestTrailers(io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers value) { if (requestTrailersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } request_ = value; onChanged(); } else { requestTrailersBuilder_.setMessage(value); } requestCase_ = 6; return this; } /** *
     * The HTTP trailers for the request path. Unless ``observability_mode`` is ``true``, the server
     * must send back a TrailerResponse message or close the stream.
     *
     * This message is only sent if the trailers processing mode is set to ``SEND`` and
     * the original downstream request has trailers.
     * 
* * .envoy.service.ext_proc.v3.HttpTrailers request_trailers = 6; */ public Builder setRequestTrailers( io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers.Builder builderForValue) { if (requestTrailersBuilder_ == null) { request_ = builderForValue.build(); onChanged(); } else { requestTrailersBuilder_.setMessage(builderForValue.build()); } requestCase_ = 6; return this; } /** *
     * The HTTP trailers for the request path. Unless ``observability_mode`` is ``true``, the server
     * must send back a TrailerResponse message or close the stream.
     *
     * This message is only sent if the trailers processing mode is set to ``SEND`` and
     * the original downstream request has trailers.
     * 
* * .envoy.service.ext_proc.v3.HttpTrailers request_trailers = 6; */ public Builder mergeRequestTrailers(io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers value) { if (requestTrailersBuilder_ == null) { if (requestCase_ == 6 && request_ != io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers.getDefaultInstance()) { request_ = io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers.newBuilder((io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers) request_) .mergeFrom(value).buildPartial(); } else { request_ = value; } onChanged(); } else { if (requestCase_ == 6) { requestTrailersBuilder_.mergeFrom(value); } else { requestTrailersBuilder_.setMessage(value); } } requestCase_ = 6; return this; } /** *
     * The HTTP trailers for the request path. Unless ``observability_mode`` is ``true``, the server
     * must send back a TrailerResponse message or close the stream.
     *
     * This message is only sent if the trailers processing mode is set to ``SEND`` and
     * the original downstream request has trailers.
     * 
* * .envoy.service.ext_proc.v3.HttpTrailers request_trailers = 6; */ public Builder clearRequestTrailers() { if (requestTrailersBuilder_ == null) { if (requestCase_ == 6) { requestCase_ = 0; request_ = null; onChanged(); } } else { if (requestCase_ == 6) { requestCase_ = 0; request_ = null; } requestTrailersBuilder_.clear(); } return this; } /** *
     * The HTTP trailers for the request path. Unless ``observability_mode`` is ``true``, the server
     * must send back a TrailerResponse message or close the stream.
     *
     * This message is only sent if the trailers processing mode is set to ``SEND`` and
     * the original downstream request has trailers.
     * 
* * .envoy.service.ext_proc.v3.HttpTrailers request_trailers = 6; */ public io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers.Builder getRequestTrailersBuilder() { return getRequestTrailersFieldBuilder().getBuilder(); } /** *
     * The HTTP trailers for the request path. Unless ``observability_mode`` is ``true``, the server
     * must send back a TrailerResponse message or close the stream.
     *
     * This message is only sent if the trailers processing mode is set to ``SEND`` and
     * the original downstream request has trailers.
     * 
* * .envoy.service.ext_proc.v3.HttpTrailers request_trailers = 6; */ @java.lang.Override public io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailersOrBuilder getRequestTrailersOrBuilder() { if ((requestCase_ == 6) && (requestTrailersBuilder_ != null)) { return requestTrailersBuilder_.getMessageOrBuilder(); } else { if (requestCase_ == 6) { return (io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers) request_; } return io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers.getDefaultInstance(); } } /** *
     * The HTTP trailers for the request path. Unless ``observability_mode`` is ``true``, the server
     * must send back a TrailerResponse message or close the stream.
     *
     * This message is only sent if the trailers processing mode is set to ``SEND`` and
     * the original downstream request has trailers.
     * 
* * .envoy.service.ext_proc.v3.HttpTrailers request_trailers = 6; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers, io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers.Builder, io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailersOrBuilder> getRequestTrailersFieldBuilder() { if (requestTrailersBuilder_ == null) { if (!(requestCase_ == 6)) { request_ = io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers.getDefaultInstance(); } requestTrailersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers, io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers.Builder, io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailersOrBuilder>( (io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers) request_, getParentForChildren(), isClean()); request_ = null; } requestCase_ = 6; onChanged(); return requestTrailersBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers, io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers.Builder, io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailersOrBuilder> responseTrailersBuilder_; /** *
     * The HTTP trailers for the response path. Unless ``observability_mode`` is ``true``, the server
     * must send back a TrailerResponse message or close the stream.
     *
     * This message is only sent if the trailers processing mode is set to ``SEND`` and
     * the original upstream response has trailers.
     * 
* * .envoy.service.ext_proc.v3.HttpTrailers response_trailers = 7; * @return Whether the responseTrailers field is set. */ @java.lang.Override public boolean hasResponseTrailers() { return requestCase_ == 7; } /** *
     * The HTTP trailers for the response path. Unless ``observability_mode`` is ``true``, the server
     * must send back a TrailerResponse message or close the stream.
     *
     * This message is only sent if the trailers processing mode is set to ``SEND`` and
     * the original upstream response has trailers.
     * 
* * .envoy.service.ext_proc.v3.HttpTrailers response_trailers = 7; * @return The responseTrailers. */ @java.lang.Override public io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers getResponseTrailers() { if (responseTrailersBuilder_ == null) { if (requestCase_ == 7) { return (io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers) request_; } return io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers.getDefaultInstance(); } else { if (requestCase_ == 7) { return responseTrailersBuilder_.getMessage(); } return io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers.getDefaultInstance(); } } /** *
     * The HTTP trailers for the response path. Unless ``observability_mode`` is ``true``, the server
     * must send back a TrailerResponse message or close the stream.
     *
     * This message is only sent if the trailers processing mode is set to ``SEND`` and
     * the original upstream response has trailers.
     * 
* * .envoy.service.ext_proc.v3.HttpTrailers response_trailers = 7; */ public Builder setResponseTrailers(io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers value) { if (responseTrailersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } request_ = value; onChanged(); } else { responseTrailersBuilder_.setMessage(value); } requestCase_ = 7; return this; } /** *
     * The HTTP trailers for the response path. Unless ``observability_mode`` is ``true``, the server
     * must send back a TrailerResponse message or close the stream.
     *
     * This message is only sent if the trailers processing mode is set to ``SEND`` and
     * the original upstream response has trailers.
     * 
* * .envoy.service.ext_proc.v3.HttpTrailers response_trailers = 7; */ public Builder setResponseTrailers( io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers.Builder builderForValue) { if (responseTrailersBuilder_ == null) { request_ = builderForValue.build(); onChanged(); } else { responseTrailersBuilder_.setMessage(builderForValue.build()); } requestCase_ = 7; return this; } /** *
     * The HTTP trailers for the response path. Unless ``observability_mode`` is ``true``, the server
     * must send back a TrailerResponse message or close the stream.
     *
     * This message is only sent if the trailers processing mode is set to ``SEND`` and
     * the original upstream response has trailers.
     * 
* * .envoy.service.ext_proc.v3.HttpTrailers response_trailers = 7; */ public Builder mergeResponseTrailers(io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers value) { if (responseTrailersBuilder_ == null) { if (requestCase_ == 7 && request_ != io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers.getDefaultInstance()) { request_ = io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers.newBuilder((io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers) request_) .mergeFrom(value).buildPartial(); } else { request_ = value; } onChanged(); } else { if (requestCase_ == 7) { responseTrailersBuilder_.mergeFrom(value); } else { responseTrailersBuilder_.setMessage(value); } } requestCase_ = 7; return this; } /** *
     * The HTTP trailers for the response path. Unless ``observability_mode`` is ``true``, the server
     * must send back a TrailerResponse message or close the stream.
     *
     * This message is only sent if the trailers processing mode is set to ``SEND`` and
     * the original upstream response has trailers.
     * 
* * .envoy.service.ext_proc.v3.HttpTrailers response_trailers = 7; */ public Builder clearResponseTrailers() { if (responseTrailersBuilder_ == null) { if (requestCase_ == 7) { requestCase_ = 0; request_ = null; onChanged(); } } else { if (requestCase_ == 7) { requestCase_ = 0; request_ = null; } responseTrailersBuilder_.clear(); } return this; } /** *
     * The HTTP trailers for the response path. Unless ``observability_mode`` is ``true``, the server
     * must send back a TrailerResponse message or close the stream.
     *
     * This message is only sent if the trailers processing mode is set to ``SEND`` and
     * the original upstream response has trailers.
     * 
* * .envoy.service.ext_proc.v3.HttpTrailers response_trailers = 7; */ public io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers.Builder getResponseTrailersBuilder() { return getResponseTrailersFieldBuilder().getBuilder(); } /** *
     * The HTTP trailers for the response path. Unless ``observability_mode`` is ``true``, the server
     * must send back a TrailerResponse message or close the stream.
     *
     * This message is only sent if the trailers processing mode is set to ``SEND`` and
     * the original upstream response has trailers.
     * 
* * .envoy.service.ext_proc.v3.HttpTrailers response_trailers = 7; */ @java.lang.Override public io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailersOrBuilder getResponseTrailersOrBuilder() { if ((requestCase_ == 7) && (responseTrailersBuilder_ != null)) { return responseTrailersBuilder_.getMessageOrBuilder(); } else { if (requestCase_ == 7) { return (io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers) request_; } return io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers.getDefaultInstance(); } } /** *
     * The HTTP trailers for the response path. Unless ``observability_mode`` is ``true``, the server
     * must send back a TrailerResponse message or close the stream.
     *
     * This message is only sent if the trailers processing mode is set to ``SEND`` and
     * the original upstream response has trailers.
     * 
* * .envoy.service.ext_proc.v3.HttpTrailers response_trailers = 7; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers, io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers.Builder, io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailersOrBuilder> getResponseTrailersFieldBuilder() { if (responseTrailersBuilder_ == null) { if (!(requestCase_ == 7)) { request_ = io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers.getDefaultInstance(); } responseTrailersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers, io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers.Builder, io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailersOrBuilder>( (io.envoyproxy.envoy.service.ext_proc.v3.HttpTrailers) request_, getParentForChildren(), isClean()); request_ = null; } requestCase_ = 7; onChanged(); return responseTrailersBuilder_; } private io.envoyproxy.envoy.config.core.v3.Metadata metadataContext_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.Metadata, io.envoyproxy.envoy.config.core.v3.Metadata.Builder, io.envoyproxy.envoy.config.core.v3.MetadataOrBuilder> metadataContextBuilder_; /** *
     * Dynamic metadata associated with the request.
     * 
* * .envoy.config.core.v3.Metadata metadata_context = 8; * @return Whether the metadataContext field is set. */ public boolean hasMetadataContext() { return ((bitField0_ & 0x00000040) != 0); } /** *
     * Dynamic metadata associated with the request.
     * 
* * .envoy.config.core.v3.Metadata metadata_context = 8; * @return The metadataContext. */ public io.envoyproxy.envoy.config.core.v3.Metadata getMetadataContext() { if (metadataContextBuilder_ == null) { return metadataContext_ == null ? io.envoyproxy.envoy.config.core.v3.Metadata.getDefaultInstance() : metadataContext_; } else { return metadataContextBuilder_.getMessage(); } } /** *
     * Dynamic metadata associated with the request.
     * 
* * .envoy.config.core.v3.Metadata metadata_context = 8; */ public Builder setMetadataContext(io.envoyproxy.envoy.config.core.v3.Metadata value) { if (metadataContextBuilder_ == null) { if (value == null) { throw new NullPointerException(); } metadataContext_ = value; } else { metadataContextBuilder_.setMessage(value); } bitField0_ |= 0x00000040; onChanged(); return this; } /** *
     * Dynamic metadata associated with the request.
     * 
* * .envoy.config.core.v3.Metadata metadata_context = 8; */ public Builder setMetadataContext( io.envoyproxy.envoy.config.core.v3.Metadata.Builder builderForValue) { if (metadataContextBuilder_ == null) { metadataContext_ = builderForValue.build(); } else { metadataContextBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; onChanged(); return this; } /** *
     * Dynamic metadata associated with the request.
     * 
* * .envoy.config.core.v3.Metadata metadata_context = 8; */ public Builder mergeMetadataContext(io.envoyproxy.envoy.config.core.v3.Metadata value) { if (metadataContextBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0) && metadataContext_ != null && metadataContext_ != io.envoyproxy.envoy.config.core.v3.Metadata.getDefaultInstance()) { getMetadataContextBuilder().mergeFrom(value); } else { metadataContext_ = value; } } else { metadataContextBuilder_.mergeFrom(value); } if (metadataContext_ != null) { bitField0_ |= 0x00000040; onChanged(); } return this; } /** *
     * Dynamic metadata associated with the request.
     * 
* * .envoy.config.core.v3.Metadata metadata_context = 8; */ public Builder clearMetadataContext() { bitField0_ = (bitField0_ & ~0x00000040); metadataContext_ = null; if (metadataContextBuilder_ != null) { metadataContextBuilder_.dispose(); metadataContextBuilder_ = null; } onChanged(); return this; } /** *
     * Dynamic metadata associated with the request.
     * 
* * .envoy.config.core.v3.Metadata metadata_context = 8; */ public io.envoyproxy.envoy.config.core.v3.Metadata.Builder getMetadataContextBuilder() { bitField0_ |= 0x00000040; onChanged(); return getMetadataContextFieldBuilder().getBuilder(); } /** *
     * Dynamic metadata associated with the request.
     * 
* * .envoy.config.core.v3.Metadata metadata_context = 8; */ public io.envoyproxy.envoy.config.core.v3.MetadataOrBuilder getMetadataContextOrBuilder() { if (metadataContextBuilder_ != null) { return metadataContextBuilder_.getMessageOrBuilder(); } else { return metadataContext_ == null ? io.envoyproxy.envoy.config.core.v3.Metadata.getDefaultInstance() : metadataContext_; } } /** *
     * Dynamic metadata associated with the request.
     * 
* * .envoy.config.core.v3.Metadata metadata_context = 8; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.Metadata, io.envoyproxy.envoy.config.core.v3.Metadata.Builder, io.envoyproxy.envoy.config.core.v3.MetadataOrBuilder> getMetadataContextFieldBuilder() { if (metadataContextBuilder_ == null) { metadataContextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.Metadata, io.envoyproxy.envoy.config.core.v3.Metadata.Builder, io.envoyproxy.envoy.config.core.v3.MetadataOrBuilder>( getMetadataContext(), getParentForChildren(), isClean()); metadataContext_ = null; } return metadataContextBuilder_; } private static final class AttributesConverter implements com.google.protobuf.MapFieldBuilder.Converter { @java.lang.Override public com.google.protobuf.Struct build(com.google.protobuf.StructOrBuilder val) { if (val instanceof com.google.protobuf.Struct) { return (com.google.protobuf.Struct) val; } return ((com.google.protobuf.Struct.Builder) val).build(); } @java.lang.Override public com.google.protobuf.MapEntry defaultEntry() { return AttributesDefaultEntryHolder.defaultEntry; } }; private static final AttributesConverter attributesConverter = new AttributesConverter(); private com.google.protobuf.MapFieldBuilder< java.lang.String, com.google.protobuf.StructOrBuilder, com.google.protobuf.Struct, com.google.protobuf.Struct.Builder> attributes_; private com.google.protobuf.MapFieldBuilder internalGetAttributes() { if (attributes_ == null) { return new com.google.protobuf.MapFieldBuilder<>(attributesConverter); } return attributes_; } private com.google.protobuf.MapFieldBuilder internalGetMutableAttributes() { if (attributes_ == null) { attributes_ = new com.google.protobuf.MapFieldBuilder<>(attributesConverter); } bitField0_ |= 0x00000080; onChanged(); return attributes_; } public int getAttributesCount() { return internalGetAttributes().ensureBuilderMap().size(); } /** *
     * The values of properties selected by the ``request_attributes``
     * or ``response_attributes`` list in the configuration. Each entry
     * in the list is populated from the standard
     * :ref:`attributes <arch_overview_attributes>` supported across Envoy.
     * 
* * map<string, .google.protobuf.Struct> attributes = 9; */ @java.lang.Override public boolean containsAttributes( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetAttributes().ensureBuilderMap().containsKey(key); } /** * Use {@link #getAttributesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAttributes() { return getAttributesMap(); } /** *
     * The values of properties selected by the ``request_attributes``
     * or ``response_attributes`` list in the configuration. Each entry
     * in the list is populated from the standard
     * :ref:`attributes <arch_overview_attributes>` supported across Envoy.
     * 
* * map<string, .google.protobuf.Struct> attributes = 9; */ @java.lang.Override public java.util.Map getAttributesMap() { return internalGetAttributes().getImmutableMap(); } /** *
     * The values of properties selected by the ``request_attributes``
     * or ``response_attributes`` list in the configuration. Each entry
     * in the list is populated from the standard
     * :ref:`attributes <arch_overview_attributes>` supported across Envoy.
     * 
* * map<string, .google.protobuf.Struct> attributes = 9; */ @java.lang.Override public /* nullable */ com.google.protobuf.Struct getAttributesOrDefault( java.lang.String key, /* nullable */ com.google.protobuf.Struct defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMutableAttributes().ensureBuilderMap(); return map.containsKey(key) ? attributesConverter.build(map.get(key)) : defaultValue; } /** *
     * The values of properties selected by the ``request_attributes``
     * or ``response_attributes`` list in the configuration. Each entry
     * in the list is populated from the standard
     * :ref:`attributes <arch_overview_attributes>` supported across Envoy.
     * 
* * map<string, .google.protobuf.Struct> attributes = 9; */ @java.lang.Override public com.google.protobuf.Struct getAttributesOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMutableAttributes().ensureBuilderMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return attributesConverter.build(map.get(key)); } public Builder clearAttributes() { bitField0_ = (bitField0_ & ~0x00000080); internalGetMutableAttributes().clear(); return this; } /** *
     * The values of properties selected by the ``request_attributes``
     * or ``response_attributes`` list in the configuration. Each entry
     * in the list is populated from the standard
     * :ref:`attributes <arch_overview_attributes>` supported across Envoy.
     * 
* * map<string, .google.protobuf.Struct> attributes = 9; */ public Builder removeAttributes( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableAttributes().ensureBuilderMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableAttributes() { bitField0_ |= 0x00000080; return internalGetMutableAttributes().ensureMessageMap(); } /** *
     * The values of properties selected by the ``request_attributes``
     * or ``response_attributes`` list in the configuration. Each entry
     * in the list is populated from the standard
     * :ref:`attributes <arch_overview_attributes>` supported across Envoy.
     * 
* * map<string, .google.protobuf.Struct> attributes = 9; */ public Builder putAttributes( java.lang.String key, com.google.protobuf.Struct value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableAttributes().ensureBuilderMap() .put(key, value); bitField0_ |= 0x00000080; return this; } /** *
     * The values of properties selected by the ``request_attributes``
     * or ``response_attributes`` list in the configuration. Each entry
     * in the list is populated from the standard
     * :ref:`attributes <arch_overview_attributes>` supported across Envoy.
     * 
* * map<string, .google.protobuf.Struct> attributes = 9; */ public Builder putAllAttributes( java.util.Map values) { for (java.util.Map.Entry e : values.entrySet()) { if (e.getKey() == null || e.getValue() == null) { throw new NullPointerException(); } } internalGetMutableAttributes().ensureBuilderMap() .putAll(values); bitField0_ |= 0x00000080; return this; } /** *
     * The values of properties selected by the ``request_attributes``
     * or ``response_attributes`` list in the configuration. Each entry
     * in the list is populated from the standard
     * :ref:`attributes <arch_overview_attributes>` supported across Envoy.
     * 
* * map<string, .google.protobuf.Struct> attributes = 9; */ public com.google.protobuf.Struct.Builder putAttributesBuilderIfAbsent( java.lang.String key) { java.util.Map builderMap = internalGetMutableAttributes().ensureBuilderMap(); com.google.protobuf.StructOrBuilder entry = builderMap.get(key); if (entry == null) { entry = com.google.protobuf.Struct.newBuilder(); builderMap.put(key, entry); } if (entry instanceof com.google.protobuf.Struct) { entry = ((com.google.protobuf.Struct) entry).toBuilder(); builderMap.put(key, entry); } return (com.google.protobuf.Struct.Builder) entry; } private boolean observabilityMode_ ; /** *
     * Specify whether the filter that sent this request is running in :ref:`observability_mode
     * <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.observability_mode>`
     * and defaults to false.
     *
     * * A value of ``false`` indicates that the server must respond
     *   to this message by either sending back a matching ProcessingResponse message,
     *   or by closing the stream.
     * * A value of ``true`` indicates that the server should not respond to this message, as any
     *   responses will be ignored. However, it may still close the stream to indicate that no more messages
     *   are needed.
     * 
* * bool observability_mode = 10; * @return The observabilityMode. */ @java.lang.Override public boolean getObservabilityMode() { return observabilityMode_; } /** *
     * Specify whether the filter that sent this request is running in :ref:`observability_mode
     * <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.observability_mode>`
     * and defaults to false.
     *
     * * A value of ``false`` indicates that the server must respond
     *   to this message by either sending back a matching ProcessingResponse message,
     *   or by closing the stream.
     * * A value of ``true`` indicates that the server should not respond to this message, as any
     *   responses will be ignored. However, it may still close the stream to indicate that no more messages
     *   are needed.
     * 
* * bool observability_mode = 10; * @param value The observabilityMode to set. * @return This builder for chaining. */ public Builder setObservabilityMode(boolean value) { observabilityMode_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** *
     * Specify whether the filter that sent this request is running in :ref:`observability_mode
     * <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.observability_mode>`
     * and defaults to false.
     *
     * * A value of ``false`` indicates that the server must respond
     *   to this message by either sending back a matching ProcessingResponse message,
     *   or by closing the stream.
     * * A value of ``true`` indicates that the server should not respond to this message, as any
     *   responses will be ignored. However, it may still close the stream to indicate that no more messages
     *   are needed.
     * 
* * bool observability_mode = 10; * @return This builder for chaining. */ public Builder clearObservabilityMode() { bitField0_ = (bitField0_ & ~0x00000100); observabilityMode_ = false; onChanged(); return this; } @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.ProcessingRequest) } // @@protoc_insertion_point(class_scope:envoy.service.ext_proc.v3.ProcessingRequest) private static final io.envoyproxy.envoy.service.ext_proc.v3.ProcessingRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.service.ext_proc.v3.ProcessingRequest(); } public static io.envoyproxy.envoy.service.ext_proc.v3.ProcessingRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ProcessingRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.envoyproxy.envoy.service.ext_proc.v3.ProcessingRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy