Class Transformation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Transformation.Builder>
io.envoyproxy.envoy.extensions.filters.http.transform.v3.Transformation.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,TransformationOrBuilder,Cloneable
- Enclosing class:
- Transformation
public static final class Transformation.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Transformation.Builder>
implements TransformationOrBuilder
Protobuf type
envoy.extensions.filters.http.transform.v3.Transformation-
Method Summary
Modifier and TypeMethodDescriptionaddAllHeadersMutations(Iterable<? extends HeaderMutation> values) The header mutations to perform.addHeadersMutations(int index, HeaderMutation value) The header mutations to perform.addHeadersMutations(int index, HeaderMutation.Builder builderForValue) The header mutations to perform.The header mutations to perform.addHeadersMutations(HeaderMutation.Builder builderForValue) The header mutations to perform.The header mutations to perform.addHeadersMutationsBuilder(int index) The header mutations to perform.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The body transformation configuration.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The header mutations to perform.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()The body transformation configuration.The body transformation configuration.The body transformation configuration.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetHeadersMutations(int index) The header mutations to perform.getHeadersMutationsBuilder(int index) The header mutations to perform.The header mutations to perform.intThe header mutations to perform.The header mutations to perform.getHeadersMutationsOrBuilder(int index) The header mutations to perform.List<? extends HeaderMutationOrBuilder>The header mutations to perform.booleanThe body transformation configuration.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanThe body transformation configuration.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Transformation other) final Transformation.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeHeadersMutations(int index) The header mutations to perform.The body transformation configuration.setBodyTransformation(BodyTransformation.Builder builderForValue) The body transformation configuration.setHeadersMutations(int index, HeaderMutation value) The header mutations to perform.setHeadersMutations(int index, HeaderMutation.Builder builderForValue) The header mutations to perform.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final Transformation.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Transformation.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Transformation.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.GeneratedMessageV3.Builder<Transformation.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Transformation.Builder>
-
setField
public Transformation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Transformation.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Transformation.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Transformation.Builder>
-
setRepeatedField
public Transformation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Transformation.Builder>
-
addRepeatedField
public Transformation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Transformation.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Transformation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Transformation.Builder>
-
mergeFrom
public Transformation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Transformation.Builder>- Throws:
IOException
-
getHeadersMutationsList
The header mutations to perform. The :ref:`substitution format specifier <config_access_log_format>` could be applied here. In addition to the commonly used format specifiers, this filter introduces additional format specifiers: * ``%REQUEST_BODY(KEY*)%``: the request body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'. * ``%RESPONSE_BODY(KEY*)%``: the response body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation headers_mutations = 1;- Specified by:
getHeadersMutationsListin interfaceTransformationOrBuilder
-
getHeadersMutationsCount
public int getHeadersMutationsCount()The header mutations to perform. The :ref:`substitution format specifier <config_access_log_format>` could be applied here. In addition to the commonly used format specifiers, this filter introduces additional format specifiers: * ``%REQUEST_BODY(KEY*)%``: the request body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'. * ``%RESPONSE_BODY(KEY*)%``: the response body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation headers_mutations = 1;- Specified by:
getHeadersMutationsCountin interfaceTransformationOrBuilder
-
getHeadersMutations
The header mutations to perform. The :ref:`substitution format specifier <config_access_log_format>` could be applied here. In addition to the commonly used format specifiers, this filter introduces additional format specifiers: * ``%REQUEST_BODY(KEY*)%``: the request body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'. * ``%RESPONSE_BODY(KEY*)%``: the response body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation headers_mutations = 1;- Specified by:
getHeadersMutationsin interfaceTransformationOrBuilder
-
setHeadersMutations
The header mutations to perform. The :ref:`substitution format specifier <config_access_log_format>` could be applied here. In addition to the commonly used format specifiers, this filter introduces additional format specifiers: * ``%REQUEST_BODY(KEY*)%``: the request body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'. * ``%RESPONSE_BODY(KEY*)%``: the response body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation headers_mutations = 1; -
setHeadersMutations
public Transformation.Builder setHeadersMutations(int index, HeaderMutation.Builder builderForValue) The header mutations to perform. The :ref:`substitution format specifier <config_access_log_format>` could be applied here. In addition to the commonly used format specifiers, this filter introduces additional format specifiers: * ``%REQUEST_BODY(KEY*)%``: the request body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'. * ``%RESPONSE_BODY(KEY*)%``: the response body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation headers_mutations = 1; -
addHeadersMutations
The header mutations to perform. The :ref:`substitution format specifier <config_access_log_format>` could be applied here. In addition to the commonly used format specifiers, this filter introduces additional format specifiers: * ``%REQUEST_BODY(KEY*)%``: the request body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'. * ``%RESPONSE_BODY(KEY*)%``: the response body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation headers_mutations = 1; -
addHeadersMutations
The header mutations to perform. The :ref:`substitution format specifier <config_access_log_format>` could be applied here. In addition to the commonly used format specifiers, this filter introduces additional format specifiers: * ``%REQUEST_BODY(KEY*)%``: the request body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'. * ``%RESPONSE_BODY(KEY*)%``: the response body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation headers_mutations = 1; -
addHeadersMutations
The header mutations to perform. The :ref:`substitution format specifier <config_access_log_format>` could be applied here. In addition to the commonly used format specifiers, this filter introduces additional format specifiers: * ``%REQUEST_BODY(KEY*)%``: the request body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'. * ``%RESPONSE_BODY(KEY*)%``: the response body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation headers_mutations = 1; -
addHeadersMutations
public Transformation.Builder addHeadersMutations(int index, HeaderMutation.Builder builderForValue) The header mutations to perform. The :ref:`substitution format specifier <config_access_log_format>` could be applied here. In addition to the commonly used format specifiers, this filter introduces additional format specifiers: * ``%REQUEST_BODY(KEY*)%``: the request body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'. * ``%RESPONSE_BODY(KEY*)%``: the response body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation headers_mutations = 1; -
addAllHeadersMutations
The header mutations to perform. The :ref:`substitution format specifier <config_access_log_format>` could be applied here. In addition to the commonly used format specifiers, this filter introduces additional format specifiers: * ``%REQUEST_BODY(KEY*)%``: the request body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'. * ``%RESPONSE_BODY(KEY*)%``: the response body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation headers_mutations = 1; -
clearHeadersMutations
The header mutations to perform. The :ref:`substitution format specifier <config_access_log_format>` could be applied here. In addition to the commonly used format specifiers, this filter introduces additional format specifiers: * ``%REQUEST_BODY(KEY*)%``: the request body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'. * ``%RESPONSE_BODY(KEY*)%``: the response body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation headers_mutations = 1; -
removeHeadersMutations
The header mutations to perform. The :ref:`substitution format specifier <config_access_log_format>` could be applied here. In addition to the commonly used format specifiers, this filter introduces additional format specifiers: * ``%REQUEST_BODY(KEY*)%``: the request body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'. * ``%RESPONSE_BODY(KEY*)%``: the response body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation headers_mutations = 1; -
getHeadersMutationsBuilder
The header mutations to perform. The :ref:`substitution format specifier <config_access_log_format>` could be applied here. In addition to the commonly used format specifiers, this filter introduces additional format specifiers: * ``%REQUEST_BODY(KEY*)%``: the request body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'. * ``%RESPONSE_BODY(KEY*)%``: the response body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation headers_mutations = 1; -
getHeadersMutationsOrBuilder
The header mutations to perform. The :ref:`substitution format specifier <config_access_log_format>` could be applied here. In addition to the commonly used format specifiers, this filter introduces additional format specifiers: * ``%REQUEST_BODY(KEY*)%``: the request body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'. * ``%RESPONSE_BODY(KEY*)%``: the response body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation headers_mutations = 1;- Specified by:
getHeadersMutationsOrBuilderin interfaceTransformationOrBuilder
-
getHeadersMutationsOrBuilderList
The header mutations to perform. The :ref:`substitution format specifier <config_access_log_format>` could be applied here. In addition to the commonly used format specifiers, this filter introduces additional format specifiers: * ``%REQUEST_BODY(KEY*)%``: the request body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'. * ``%RESPONSE_BODY(KEY*)%``: the response body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation headers_mutations = 1;- Specified by:
getHeadersMutationsOrBuilderListin interfaceTransformationOrBuilder
-
addHeadersMutationsBuilder
The header mutations to perform. The :ref:`substitution format specifier <config_access_log_format>` could be applied here. In addition to the commonly used format specifiers, this filter introduces additional format specifiers: * ``%REQUEST_BODY(KEY*)%``: the request body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'. * ``%RESPONSE_BODY(KEY*)%``: the response body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation headers_mutations = 1; -
addHeadersMutationsBuilder
The header mutations to perform. The :ref:`substitution format specifier <config_access_log_format>` could be applied here. In addition to the commonly used format specifiers, this filter introduces additional format specifiers: * ``%REQUEST_BODY(KEY*)%``: the request body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'. * ``%RESPONSE_BODY(KEY*)%``: the response body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation headers_mutations = 1; -
getHeadersMutationsBuilderList
The header mutations to perform. The :ref:`substitution format specifier <config_access_log_format>` could be applied here. In addition to the commonly used format specifiers, this filter introduces additional format specifiers: * ``%REQUEST_BODY(KEY*)%``: the request body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'. * ``%RESPONSE_BODY(KEY*)%``: the response body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation headers_mutations = 1; -
hasBodyTransformation
public boolean hasBodyTransformation()The body transformation configuration. If not set, no body transformation will be performed.
.envoy.extensions.filters.http.transform.v3.BodyTransformation body_transformation = 2;- Specified by:
hasBodyTransformationin interfaceTransformationOrBuilder- Returns:
- Whether the bodyTransformation field is set.
-
getBodyTransformation
The body transformation configuration. If not set, no body transformation will be performed.
.envoy.extensions.filters.http.transform.v3.BodyTransformation body_transformation = 2;- Specified by:
getBodyTransformationin interfaceTransformationOrBuilder- Returns:
- The bodyTransformation.
-
setBodyTransformation
The body transformation configuration. If not set, no body transformation will be performed.
.envoy.extensions.filters.http.transform.v3.BodyTransformation body_transformation = 2; -
setBodyTransformation
The body transformation configuration. If not set, no body transformation will be performed.
.envoy.extensions.filters.http.transform.v3.BodyTransformation body_transformation = 2; -
mergeBodyTransformation
The body transformation configuration. If not set, no body transformation will be performed.
.envoy.extensions.filters.http.transform.v3.BodyTransformation body_transformation = 2; -
clearBodyTransformation
The body transformation configuration. If not set, no body transformation will be performed.
.envoy.extensions.filters.http.transform.v3.BodyTransformation body_transformation = 2; -
getBodyTransformationBuilder
The body transformation configuration. If not set, no body transformation will be performed.
.envoy.extensions.filters.http.transform.v3.BodyTransformation body_transformation = 2; -
getBodyTransformationOrBuilder
The body transformation configuration. If not set, no body transformation will be performed.
.envoy.extensions.filters.http.transform.v3.BodyTransformation body_transformation = 2;- Specified by:
getBodyTransformationOrBuilderin interfaceTransformationOrBuilder
-
setUnknownFields
public final Transformation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Transformation.Builder>
-
mergeUnknownFields
public final Transformation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Transformation.Builder>
-