Class ResponseMapper.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<ResponseMapper.Builder>
-
- io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.ResponseMapper.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,ResponseMapperOrBuilder
,java.lang.Cloneable
- Enclosing class:
- ResponseMapper
public static final class ResponseMapper.Builder extends com.google.protobuf.GeneratedMessage.Builder<ResponseMapper.Builder> implements ResponseMapperOrBuilder
The configuration to filter and change local response. [#next-free-field: 6]
Protobuf typeenvoy.extensions.filters.network.http_connection_manager.v3.ResponseMapper
-
-
Field Summary
Fields Modifier and Type Field Description private int
bitField0_
private DataSource
body_
private com.google.protobuf.SingleFieldBuilder<DataSource,DataSource.Builder,DataSourceOrBuilder>
bodyBuilder_
private SubstitutionFormatString
bodyFormatOverride_
private com.google.protobuf.SingleFieldBuilder<SubstitutionFormatString,SubstitutionFormatString.Builder,SubstitutionFormatStringOrBuilder>
bodyFormatOverrideBuilder_
private AccessLogFilter
filter_
private com.google.protobuf.SingleFieldBuilder<AccessLogFilter,AccessLogFilter.Builder,AccessLogFilterOrBuilder>
filterBuilder_
private java.util.List<HeaderValueOption>
headersToAdd_
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder>
headersToAddBuilder_
private com.google.protobuf.UInt32Value
statusCode_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder>
statusCodeBuilder_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponseMapper.Builder
addAllHeadersToAdd(java.lang.Iterable<? extends HeaderValueOption> values)
HTTP headers to add to a local reply.ResponseMapper.Builder
addHeadersToAdd(int index, HeaderValueOption value)
HTTP headers to add to a local reply.ResponseMapper.Builder
addHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)
HTTP headers to add to a local reply.ResponseMapper.Builder
addHeadersToAdd(HeaderValueOption value)
HTTP headers to add to a local reply.ResponseMapper.Builder
addHeadersToAdd(HeaderValueOption.Builder builderForValue)
HTTP headers to add to a local reply.HeaderValueOption.Builder
addHeadersToAddBuilder()
HTTP headers to add to a local reply.HeaderValueOption.Builder
addHeadersToAddBuilder(int index)
HTTP headers to add to a local reply.ResponseMapper
build()
ResponseMapper
buildPartial()
private void
buildPartial0(ResponseMapper result)
private void
buildPartialRepeatedFields(ResponseMapper result)
ResponseMapper.Builder
clear()
ResponseMapper.Builder
clearBody()
The new local reply body text if specified.ResponseMapper.Builder
clearBodyFormatOverride()
A per mapper ``body_format`` to override the :ref:`body_format <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.LocalReplyConfig.body_format>`.ResponseMapper.Builder
clearFilter()
Filter to determine if this mapper should apply.ResponseMapper.Builder
clearHeadersToAdd()
HTTP headers to add to a local reply.ResponseMapper.Builder
clearStatusCode()
The new response status code if specified.private void
ensureHeadersToAddIsMutable()
DataSource
getBody()
The new local reply body text if specified.DataSource.Builder
getBodyBuilder()
The new local reply body text if specified.private com.google.protobuf.SingleFieldBuilder<DataSource,DataSource.Builder,DataSourceOrBuilder>
getBodyFieldBuilder()
The new local reply body text if specified.SubstitutionFormatString
getBodyFormatOverride()
A per mapper ``body_format`` to override the :ref:`body_format <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.LocalReplyConfig.body_format>`.SubstitutionFormatString.Builder
getBodyFormatOverrideBuilder()
A per mapper ``body_format`` to override the :ref:`body_format <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.LocalReplyConfig.body_format>`.private com.google.protobuf.SingleFieldBuilder<SubstitutionFormatString,SubstitutionFormatString.Builder,SubstitutionFormatStringOrBuilder>
getBodyFormatOverrideFieldBuilder()
A per mapper ``body_format`` to override the :ref:`body_format <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.LocalReplyConfig.body_format>`.SubstitutionFormatStringOrBuilder
getBodyFormatOverrideOrBuilder()
A per mapper ``body_format`` to override the :ref:`body_format <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.LocalReplyConfig.body_format>`.DataSourceOrBuilder
getBodyOrBuilder()
The new local reply body text if specified.ResponseMapper
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
AccessLogFilter
getFilter()
Filter to determine if this mapper should apply.AccessLogFilter.Builder
getFilterBuilder()
Filter to determine if this mapper should apply.private com.google.protobuf.SingleFieldBuilder<AccessLogFilter,AccessLogFilter.Builder,AccessLogFilterOrBuilder>
getFilterFieldBuilder()
Filter to determine if this mapper should apply.AccessLogFilterOrBuilder
getFilterOrBuilder()
Filter to determine if this mapper should apply.HeaderValueOption
getHeadersToAdd(int index)
HTTP headers to add to a local reply.HeaderValueOption.Builder
getHeadersToAddBuilder(int index)
HTTP headers to add to a local reply.java.util.List<HeaderValueOption.Builder>
getHeadersToAddBuilderList()
HTTP headers to add to a local reply.int
getHeadersToAddCount()
HTTP headers to add to a local reply.private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder>
getHeadersToAddFieldBuilder()
java.util.List<HeaderValueOption>
getHeadersToAddList()
HTTP headers to add to a local reply.HeaderValueOptionOrBuilder
getHeadersToAddOrBuilder(int index)
HTTP headers to add to a local reply.java.util.List<? extends HeaderValueOptionOrBuilder>
getHeadersToAddOrBuilderList()
HTTP headers to add to a local reply.com.google.protobuf.UInt32Value
getStatusCode()
The new response status code if specified.com.google.protobuf.UInt32Value.Builder
getStatusCodeBuilder()
The new response status code if specified.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder>
getStatusCodeFieldBuilder()
The new response status code if specified.com.google.protobuf.UInt32ValueOrBuilder
getStatusCodeOrBuilder()
The new response status code if specified.boolean
hasBody()
The new local reply body text if specified.boolean
hasBodyFormatOverride()
A per mapper ``body_format`` to override the :ref:`body_format <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.LocalReplyConfig.body_format>`.boolean
hasFilter()
Filter to determine if this mapper should apply.boolean
hasStatusCode()
The new response status code if specified.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
private void
maybeForceBuilderInitialization()
ResponseMapper.Builder
mergeBody(DataSource value)
The new local reply body text if specified.ResponseMapper.Builder
mergeBodyFormatOverride(SubstitutionFormatString value)
A per mapper ``body_format`` to override the :ref:`body_format <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.LocalReplyConfig.body_format>`.ResponseMapper.Builder
mergeFilter(AccessLogFilter value)
Filter to determine if this mapper should apply.ResponseMapper.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ResponseMapper.Builder
mergeFrom(com.google.protobuf.Message other)
ResponseMapper.Builder
mergeFrom(ResponseMapper other)
ResponseMapper.Builder
mergeStatusCode(com.google.protobuf.UInt32Value value)
The new response status code if specified.ResponseMapper.Builder
removeHeadersToAdd(int index)
HTTP headers to add to a local reply.ResponseMapper.Builder
setBody(DataSource value)
The new local reply body text if specified.ResponseMapper.Builder
setBody(DataSource.Builder builderForValue)
The new local reply body text if specified.ResponseMapper.Builder
setBodyFormatOverride(SubstitutionFormatString value)
A per mapper ``body_format`` to override the :ref:`body_format <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.LocalReplyConfig.body_format>`.ResponseMapper.Builder
setBodyFormatOverride(SubstitutionFormatString.Builder builderForValue)
A per mapper ``body_format`` to override the :ref:`body_format <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.LocalReplyConfig.body_format>`.ResponseMapper.Builder
setFilter(AccessLogFilter value)
Filter to determine if this mapper should apply.ResponseMapper.Builder
setFilter(AccessLogFilter.Builder builderForValue)
Filter to determine if this mapper should apply.ResponseMapper.Builder
setHeadersToAdd(int index, HeaderValueOption value)
HTTP headers to add to a local reply.ResponseMapper.Builder
setHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)
HTTP headers to add to a local reply.ResponseMapper.Builder
setStatusCode(com.google.protobuf.UInt32Value value)
The new response status code if specified.ResponseMapper.Builder
setStatusCode(com.google.protobuf.UInt32Value.Builder builderForValue)
The new response status code if specified.-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
filter_
private AccessLogFilter filter_
-
filterBuilder_
private com.google.protobuf.SingleFieldBuilder<AccessLogFilter,AccessLogFilter.Builder,AccessLogFilterOrBuilder> filterBuilder_
-
statusCode_
private com.google.protobuf.UInt32Value statusCode_
-
statusCodeBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder> statusCodeBuilder_
-
body_
private DataSource body_
-
bodyBuilder_
private com.google.protobuf.SingleFieldBuilder<DataSource,DataSource.Builder,DataSourceOrBuilder> bodyBuilder_
-
bodyFormatOverride_
private SubstitutionFormatString bodyFormatOverride_
-
bodyFormatOverrideBuilder_
private com.google.protobuf.SingleFieldBuilder<SubstitutionFormatString,SubstitutionFormatString.Builder,SubstitutionFormatStringOrBuilder> bodyFormatOverrideBuilder_
-
headersToAdd_
private java.util.List<HeaderValueOption> headersToAdd_
-
headersToAddBuilder_
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder> headersToAddBuilder_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<ResponseMapper.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public ResponseMapper.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<ResponseMapper.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<ResponseMapper.Builder>
-
getDefaultInstanceForType
public ResponseMapper getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ResponseMapper build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ResponseMapper buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
private void buildPartialRepeatedFields(ResponseMapper result)
-
buildPartial0
private void buildPartial0(ResponseMapper result)
-
mergeFrom
public ResponseMapper.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ResponseMapper.Builder>
-
mergeFrom
public ResponseMapper.Builder mergeFrom(ResponseMapper other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<ResponseMapper.Builder>
-
mergeFrom
public ResponseMapper.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ResponseMapper.Builder>
- Throws:
java.io.IOException
-
hasFilter
public boolean hasFilter()
Filter to determine if this mapper should apply.
.envoy.config.accesslog.v3.AccessLogFilter filter = 1 [(.validate.rules) = { ... }
- Specified by:
hasFilter
in interfaceResponseMapperOrBuilder
- Returns:
- Whether the filter field is set.
-
getFilter
public AccessLogFilter getFilter()
Filter to determine if this mapper should apply.
.envoy.config.accesslog.v3.AccessLogFilter filter = 1 [(.validate.rules) = { ... }
- Specified by:
getFilter
in interfaceResponseMapperOrBuilder
- Returns:
- The filter.
-
setFilter
public ResponseMapper.Builder setFilter(AccessLogFilter value)
Filter to determine if this mapper should apply.
.envoy.config.accesslog.v3.AccessLogFilter filter = 1 [(.validate.rules) = { ... }
-
setFilter
public ResponseMapper.Builder setFilter(AccessLogFilter.Builder builderForValue)
Filter to determine if this mapper should apply.
.envoy.config.accesslog.v3.AccessLogFilter filter = 1 [(.validate.rules) = { ... }
-
mergeFilter
public ResponseMapper.Builder mergeFilter(AccessLogFilter value)
Filter to determine if this mapper should apply.
.envoy.config.accesslog.v3.AccessLogFilter filter = 1 [(.validate.rules) = { ... }
-
clearFilter
public ResponseMapper.Builder clearFilter()
Filter to determine if this mapper should apply.
.envoy.config.accesslog.v3.AccessLogFilter filter = 1 [(.validate.rules) = { ... }
-
getFilterBuilder
public AccessLogFilter.Builder getFilterBuilder()
Filter to determine if this mapper should apply.
.envoy.config.accesslog.v3.AccessLogFilter filter = 1 [(.validate.rules) = { ... }
-
getFilterOrBuilder
public AccessLogFilterOrBuilder getFilterOrBuilder()
Filter to determine if this mapper should apply.
.envoy.config.accesslog.v3.AccessLogFilter filter = 1 [(.validate.rules) = { ... }
- Specified by:
getFilterOrBuilder
in interfaceResponseMapperOrBuilder
-
getFilterFieldBuilder
private com.google.protobuf.SingleFieldBuilder<AccessLogFilter,AccessLogFilter.Builder,AccessLogFilterOrBuilder> getFilterFieldBuilder()
Filter to determine if this mapper should apply.
.envoy.config.accesslog.v3.AccessLogFilter filter = 1 [(.validate.rules) = { ... }
-
hasStatusCode
public boolean hasStatusCode()
The new response status code if specified.
.google.protobuf.UInt32Value status_code = 2 [(.validate.rules) = { ... }
- Specified by:
hasStatusCode
in interfaceResponseMapperOrBuilder
- Returns:
- Whether the statusCode field is set.
-
getStatusCode
public com.google.protobuf.UInt32Value getStatusCode()
The new response status code if specified.
.google.protobuf.UInt32Value status_code = 2 [(.validate.rules) = { ... }
- Specified by:
getStatusCode
in interfaceResponseMapperOrBuilder
- Returns:
- The statusCode.
-
setStatusCode
public ResponseMapper.Builder setStatusCode(com.google.protobuf.UInt32Value value)
The new response status code if specified.
.google.protobuf.UInt32Value status_code = 2 [(.validate.rules) = { ... }
-
setStatusCode
public ResponseMapper.Builder setStatusCode(com.google.protobuf.UInt32Value.Builder builderForValue)
The new response status code if specified.
.google.protobuf.UInt32Value status_code = 2 [(.validate.rules) = { ... }
-
mergeStatusCode
public ResponseMapper.Builder mergeStatusCode(com.google.protobuf.UInt32Value value)
The new response status code if specified.
.google.protobuf.UInt32Value status_code = 2 [(.validate.rules) = { ... }
-
clearStatusCode
public ResponseMapper.Builder clearStatusCode()
The new response status code if specified.
.google.protobuf.UInt32Value status_code = 2 [(.validate.rules) = { ... }
-
getStatusCodeBuilder
public com.google.protobuf.UInt32Value.Builder getStatusCodeBuilder()
The new response status code if specified.
.google.protobuf.UInt32Value status_code = 2 [(.validate.rules) = { ... }
-
getStatusCodeOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getStatusCodeOrBuilder()
The new response status code if specified.
.google.protobuf.UInt32Value status_code = 2 [(.validate.rules) = { ... }
- Specified by:
getStatusCodeOrBuilder
in interfaceResponseMapperOrBuilder
-
getStatusCodeFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder> getStatusCodeFieldBuilder()
The new response status code if specified.
.google.protobuf.UInt32Value status_code = 2 [(.validate.rules) = { ... }
-
hasBody
public boolean hasBody()
The new local reply body text if specified. It will be used in the ``%LOCAL_REPLY_BODY%`` command operator in the ``body_format``.
.envoy.config.core.v3.DataSource body = 3;
- Specified by:
hasBody
in interfaceResponseMapperOrBuilder
- Returns:
- Whether the body field is set.
-
getBody
public DataSource getBody()
The new local reply body text if specified. It will be used in the ``%LOCAL_REPLY_BODY%`` command operator in the ``body_format``.
.envoy.config.core.v3.DataSource body = 3;
- Specified by:
getBody
in interfaceResponseMapperOrBuilder
- Returns:
- The body.
-
setBody
public ResponseMapper.Builder setBody(DataSource value)
The new local reply body text if specified. It will be used in the ``%LOCAL_REPLY_BODY%`` command operator in the ``body_format``.
.envoy.config.core.v3.DataSource body = 3;
-
setBody
public ResponseMapper.Builder setBody(DataSource.Builder builderForValue)
The new local reply body text if specified. It will be used in the ``%LOCAL_REPLY_BODY%`` command operator in the ``body_format``.
.envoy.config.core.v3.DataSource body = 3;
-
mergeBody
public ResponseMapper.Builder mergeBody(DataSource value)
The new local reply body text if specified. It will be used in the ``%LOCAL_REPLY_BODY%`` command operator in the ``body_format``.
.envoy.config.core.v3.DataSource body = 3;
-
clearBody
public ResponseMapper.Builder clearBody()
The new local reply body text if specified. It will be used in the ``%LOCAL_REPLY_BODY%`` command operator in the ``body_format``.
.envoy.config.core.v3.DataSource body = 3;
-
getBodyBuilder
public DataSource.Builder getBodyBuilder()
The new local reply body text if specified. It will be used in the ``%LOCAL_REPLY_BODY%`` command operator in the ``body_format``.
.envoy.config.core.v3.DataSource body = 3;
-
getBodyOrBuilder
public DataSourceOrBuilder getBodyOrBuilder()
The new local reply body text if specified. It will be used in the ``%LOCAL_REPLY_BODY%`` command operator in the ``body_format``.
.envoy.config.core.v3.DataSource body = 3;
- Specified by:
getBodyOrBuilder
in interfaceResponseMapperOrBuilder
-
getBodyFieldBuilder
private com.google.protobuf.SingleFieldBuilder<DataSource,DataSource.Builder,DataSourceOrBuilder> getBodyFieldBuilder()
The new local reply body text if specified. It will be used in the ``%LOCAL_REPLY_BODY%`` command operator in the ``body_format``.
.envoy.config.core.v3.DataSource body = 3;
-
hasBodyFormatOverride
public boolean hasBodyFormatOverride()
A per mapper ``body_format`` to override the :ref:`body_format <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.LocalReplyConfig.body_format>`. It will be used when this mapper is matched.
.envoy.config.core.v3.SubstitutionFormatString body_format_override = 4;
- Specified by:
hasBodyFormatOverride
in interfaceResponseMapperOrBuilder
- Returns:
- Whether the bodyFormatOverride field is set.
-
getBodyFormatOverride
public SubstitutionFormatString getBodyFormatOverride()
A per mapper ``body_format`` to override the :ref:`body_format <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.LocalReplyConfig.body_format>`. It will be used when this mapper is matched.
.envoy.config.core.v3.SubstitutionFormatString body_format_override = 4;
- Specified by:
getBodyFormatOverride
in interfaceResponseMapperOrBuilder
- Returns:
- The bodyFormatOverride.
-
setBodyFormatOverride
public ResponseMapper.Builder setBodyFormatOverride(SubstitutionFormatString value)
A per mapper ``body_format`` to override the :ref:`body_format <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.LocalReplyConfig.body_format>`. It will be used when this mapper is matched.
.envoy.config.core.v3.SubstitutionFormatString body_format_override = 4;
-
setBodyFormatOverride
public ResponseMapper.Builder setBodyFormatOverride(SubstitutionFormatString.Builder builderForValue)
A per mapper ``body_format`` to override the :ref:`body_format <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.LocalReplyConfig.body_format>`. It will be used when this mapper is matched.
.envoy.config.core.v3.SubstitutionFormatString body_format_override = 4;
-
mergeBodyFormatOverride
public ResponseMapper.Builder mergeBodyFormatOverride(SubstitutionFormatString value)
A per mapper ``body_format`` to override the :ref:`body_format <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.LocalReplyConfig.body_format>`. It will be used when this mapper is matched.
.envoy.config.core.v3.SubstitutionFormatString body_format_override = 4;
-
clearBodyFormatOverride
public ResponseMapper.Builder clearBodyFormatOverride()
A per mapper ``body_format`` to override the :ref:`body_format <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.LocalReplyConfig.body_format>`. It will be used when this mapper is matched.
.envoy.config.core.v3.SubstitutionFormatString body_format_override = 4;
-
getBodyFormatOverrideBuilder
public SubstitutionFormatString.Builder getBodyFormatOverrideBuilder()
A per mapper ``body_format`` to override the :ref:`body_format <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.LocalReplyConfig.body_format>`. It will be used when this mapper is matched.
.envoy.config.core.v3.SubstitutionFormatString body_format_override = 4;
-
getBodyFormatOverrideOrBuilder
public SubstitutionFormatStringOrBuilder getBodyFormatOverrideOrBuilder()
A per mapper ``body_format`` to override the :ref:`body_format <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.LocalReplyConfig.body_format>`. It will be used when this mapper is matched.
.envoy.config.core.v3.SubstitutionFormatString body_format_override = 4;
- Specified by:
getBodyFormatOverrideOrBuilder
in interfaceResponseMapperOrBuilder
-
getBodyFormatOverrideFieldBuilder
private com.google.protobuf.SingleFieldBuilder<SubstitutionFormatString,SubstitutionFormatString.Builder,SubstitutionFormatStringOrBuilder> getBodyFormatOverrideFieldBuilder()
A per mapper ``body_format`` to override the :ref:`body_format <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.LocalReplyConfig.body_format>`. It will be used when this mapper is matched.
.envoy.config.core.v3.SubstitutionFormatString body_format_override = 4;
-
ensureHeadersToAddIsMutable
private void ensureHeadersToAddIsMutable()
-
getHeadersToAddList
public java.util.List<HeaderValueOption> getHeadersToAddList()
HTTP headers to add to a local reply. This allows the response mapper to append, to add or to override headers of any local reply before it is sent to a downstream client.
repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 5 [(.validate.rules) = { ... }
- Specified by:
getHeadersToAddList
in interfaceResponseMapperOrBuilder
-
getHeadersToAddCount
public int getHeadersToAddCount()
HTTP headers to add to a local reply. This allows the response mapper to append, to add or to override headers of any local reply before it is sent to a downstream client.
repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 5 [(.validate.rules) = { ... }
- Specified by:
getHeadersToAddCount
in interfaceResponseMapperOrBuilder
-
getHeadersToAdd
public HeaderValueOption getHeadersToAdd(int index)
HTTP headers to add to a local reply. This allows the response mapper to append, to add or to override headers of any local reply before it is sent to a downstream client.
repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 5 [(.validate.rules) = { ... }
- Specified by:
getHeadersToAdd
in interfaceResponseMapperOrBuilder
-
setHeadersToAdd
public ResponseMapper.Builder setHeadersToAdd(int index, HeaderValueOption value)
HTTP headers to add to a local reply. This allows the response mapper to append, to add or to override headers of any local reply before it is sent to a downstream client.
repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 5 [(.validate.rules) = { ... }
-
setHeadersToAdd
public ResponseMapper.Builder setHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)
HTTP headers to add to a local reply. This allows the response mapper to append, to add or to override headers of any local reply before it is sent to a downstream client.
repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 5 [(.validate.rules) = { ... }
-
addHeadersToAdd
public ResponseMapper.Builder addHeadersToAdd(HeaderValueOption value)
HTTP headers to add to a local reply. This allows the response mapper to append, to add or to override headers of any local reply before it is sent to a downstream client.
repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 5 [(.validate.rules) = { ... }
-
addHeadersToAdd
public ResponseMapper.Builder addHeadersToAdd(int index, HeaderValueOption value)
HTTP headers to add to a local reply. This allows the response mapper to append, to add or to override headers of any local reply before it is sent to a downstream client.
repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 5 [(.validate.rules) = { ... }
-
addHeadersToAdd
public ResponseMapper.Builder addHeadersToAdd(HeaderValueOption.Builder builderForValue)
HTTP headers to add to a local reply. This allows the response mapper to append, to add or to override headers of any local reply before it is sent to a downstream client.
repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 5 [(.validate.rules) = { ... }
-
addHeadersToAdd
public ResponseMapper.Builder addHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)
HTTP headers to add to a local reply. This allows the response mapper to append, to add or to override headers of any local reply before it is sent to a downstream client.
repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 5 [(.validate.rules) = { ... }
-
addAllHeadersToAdd
public ResponseMapper.Builder addAllHeadersToAdd(java.lang.Iterable<? extends HeaderValueOption> values)
HTTP headers to add to a local reply. This allows the response mapper to append, to add or to override headers of any local reply before it is sent to a downstream client.
repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 5 [(.validate.rules) = { ... }
-
clearHeadersToAdd
public ResponseMapper.Builder clearHeadersToAdd()
HTTP headers to add to a local reply. This allows the response mapper to append, to add or to override headers of any local reply before it is sent to a downstream client.
repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 5 [(.validate.rules) = { ... }
-
removeHeadersToAdd
public ResponseMapper.Builder removeHeadersToAdd(int index)
HTTP headers to add to a local reply. This allows the response mapper to append, to add or to override headers of any local reply before it is sent to a downstream client.
repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 5 [(.validate.rules) = { ... }
-
getHeadersToAddBuilder
public HeaderValueOption.Builder getHeadersToAddBuilder(int index)
HTTP headers to add to a local reply. This allows the response mapper to append, to add or to override headers of any local reply before it is sent to a downstream client.
repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 5 [(.validate.rules) = { ... }
-
getHeadersToAddOrBuilder
public HeaderValueOptionOrBuilder getHeadersToAddOrBuilder(int index)
HTTP headers to add to a local reply. This allows the response mapper to append, to add or to override headers of any local reply before it is sent to a downstream client.
repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 5 [(.validate.rules) = { ... }
- Specified by:
getHeadersToAddOrBuilder
in interfaceResponseMapperOrBuilder
-
getHeadersToAddOrBuilderList
public java.util.List<? extends HeaderValueOptionOrBuilder> getHeadersToAddOrBuilderList()
HTTP headers to add to a local reply. This allows the response mapper to append, to add or to override headers of any local reply before it is sent to a downstream client.
repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 5 [(.validate.rules) = { ... }
- Specified by:
getHeadersToAddOrBuilderList
in interfaceResponseMapperOrBuilder
-
addHeadersToAddBuilder
public HeaderValueOption.Builder addHeadersToAddBuilder()
HTTP headers to add to a local reply. This allows the response mapper to append, to add or to override headers of any local reply before it is sent to a downstream client.
repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 5 [(.validate.rules) = { ... }
-
addHeadersToAddBuilder
public HeaderValueOption.Builder addHeadersToAddBuilder(int index)
HTTP headers to add to a local reply. This allows the response mapper to append, to add or to override headers of any local reply before it is sent to a downstream client.
repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 5 [(.validate.rules) = { ... }
-
getHeadersToAddBuilderList
public java.util.List<HeaderValueOption.Builder> getHeadersToAddBuilderList()
HTTP headers to add to a local reply. This allows the response mapper to append, to add or to override headers of any local reply before it is sent to a downstream client.
repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 5 [(.validate.rules) = { ... }
-
getHeadersToAddFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder> getHeadersToAddFieldBuilder()
-
-