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 intbitField0_private DataSourcebody_private com.google.protobuf.SingleFieldBuilder<DataSource,DataSource.Builder,DataSourceOrBuilder>bodyBuilder_private SubstitutionFormatStringbodyFormatOverride_private com.google.protobuf.SingleFieldBuilder<SubstitutionFormatString,SubstitutionFormatString.Builder,SubstitutionFormatStringOrBuilder>bodyFormatOverrideBuilder_private AccessLogFilterfilter_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.UInt32ValuestatusCode_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.BuilderaddAllHeadersToAdd(java.lang.Iterable<? extends HeaderValueOption> values)HTTP headers to add to a local reply.ResponseMapper.BuilderaddHeadersToAdd(int index, HeaderValueOption value)HTTP headers to add to a local reply.ResponseMapper.BuilderaddHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)HTTP headers to add to a local reply.ResponseMapper.BuilderaddHeadersToAdd(HeaderValueOption value)HTTP headers to add to a local reply.ResponseMapper.BuilderaddHeadersToAdd(HeaderValueOption.Builder builderForValue)HTTP headers to add to a local reply.HeaderValueOption.BuilderaddHeadersToAddBuilder()HTTP headers to add to a local reply.HeaderValueOption.BuilderaddHeadersToAddBuilder(int index)HTTP headers to add to a local reply.ResponseMapperbuild()ResponseMapperbuildPartial()private voidbuildPartial0(ResponseMapper result)private voidbuildPartialRepeatedFields(ResponseMapper result)ResponseMapper.Builderclear()ResponseMapper.BuilderclearBody()The new local reply body text if specified.ResponseMapper.BuilderclearBodyFormatOverride()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.BuilderclearFilter()Filter to determine if this mapper should apply.ResponseMapper.BuilderclearHeadersToAdd()HTTP headers to add to a local reply.ResponseMapper.BuilderclearStatusCode()The new response status code if specified.private voidensureHeadersToAddIsMutable()DataSourcegetBody()The new local reply body text if specified.DataSource.BuildergetBodyBuilder()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.SubstitutionFormatStringgetBodyFormatOverride()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.BuildergetBodyFormatOverrideBuilder()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>`.SubstitutionFormatStringOrBuildergetBodyFormatOverrideOrBuilder()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>`.DataSourceOrBuildergetBodyOrBuilder()The new local reply body text if specified.ResponseMappergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()AccessLogFiltergetFilter()Filter to determine if this mapper should apply.AccessLogFilter.BuildergetFilterBuilder()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.AccessLogFilterOrBuildergetFilterOrBuilder()Filter to determine if this mapper should apply.HeaderValueOptiongetHeadersToAdd(int index)HTTP headers to add to a local reply.HeaderValueOption.BuildergetHeadersToAddBuilder(int index)HTTP headers to add to a local reply.java.util.List<HeaderValueOption.Builder>getHeadersToAddBuilderList()HTTP headers to add to a local reply.intgetHeadersToAddCount()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.HeaderValueOptionOrBuildergetHeadersToAddOrBuilder(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.UInt32ValuegetStatusCode()The new response status code if specified.com.google.protobuf.UInt32Value.BuildergetStatusCodeBuilder()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.UInt32ValueOrBuildergetStatusCodeOrBuilder()The new response status code if specified.booleanhasBody()The new local reply body text if specified.booleanhasBodyFormatOverride()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>`.booleanhasFilter()Filter to determine if this mapper should apply.booleanhasStatusCode()The new response status code if specified.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()private voidmaybeForceBuilderInitialization()ResponseMapper.BuildermergeBody(DataSource value)The new local reply body text if specified.ResponseMapper.BuildermergeBodyFormatOverride(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.BuildermergeFilter(AccessLogFilter value)Filter to determine if this mapper should apply.ResponseMapper.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ResponseMapper.BuildermergeFrom(com.google.protobuf.Message other)ResponseMapper.BuildermergeFrom(ResponseMapper other)ResponseMapper.BuildermergeStatusCode(com.google.protobuf.UInt32Value value)The new response status code if specified.ResponseMapper.BuilderremoveHeadersToAdd(int index)HTTP headers to add to a local reply.ResponseMapper.BuildersetBody(DataSource value)The new local reply body text if specified.ResponseMapper.BuildersetBody(DataSource.Builder builderForValue)The new local reply body text if specified.ResponseMapper.BuildersetBodyFormatOverride(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.BuildersetBodyFormatOverride(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.BuildersetFilter(AccessLogFilter value)Filter to determine if this mapper should apply.ResponseMapper.BuildersetFilter(AccessLogFilter.Builder builderForValue)Filter to determine if this mapper should apply.ResponseMapper.BuildersetHeadersToAdd(int index, HeaderValueOption value)HTTP headers to add to a local reply.ResponseMapper.BuildersetHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)HTTP headers to add to a local reply.ResponseMapper.BuildersetStatusCode(com.google.protobuf.UInt32Value value)The new response status code if specified.ResponseMapper.BuildersetStatusCode(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ResponseMapper.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public ResponseMapper.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ResponseMapper.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ResponseMapper.Builder>
-
getDefaultInstanceForType
public ResponseMapper getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ResponseMapper build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ResponseMapper buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ResponseMapper.Builder>
-
mergeFrom
public ResponseMapper.Builder mergeFrom(ResponseMapper other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
hasFilterin 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:
getFilterin 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:
getFilterOrBuilderin 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:
hasStatusCodein 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:
getStatusCodein 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:
getStatusCodeOrBuilderin 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:
hasBodyin 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:
getBodyin 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:
getBodyOrBuilderin 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:
hasBodyFormatOverridein 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:
getBodyFormatOverridein 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:
getBodyFormatOverrideOrBuilderin 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:
getHeadersToAddListin 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:
getHeadersToAddCountin 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:
getHeadersToAddin 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:
getHeadersToAddOrBuilderin 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:
getHeadersToAddOrBuilderListin 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()
-
-