Class Mutations.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Mutations.Builder>
-
- io.envoyproxy.envoy.extensions.filters.http.header_mutation.v3.Mutations.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,MutationsOrBuilder,Cloneable
- Enclosing class:
- Mutations
public static final class Mutations.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Mutations.Builder> implements MutationsOrBuilder
Protobuf typeenvoy.extensions.filters.http.header_mutation.v3.Mutations
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Mutations.BuilderaddAllRequestMutations(Iterable<? extends HeaderMutation> values)The request mutations are applied before the request is forwarded to the upstream cluster.Mutations.BuilderaddAllResponseMutations(Iterable<? extends HeaderMutation> values)The response mutations are applied before the response is sent to the downstream client.Mutations.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Mutations.BuilderaddRequestMutations(int index, HeaderMutation value)The request mutations are applied before the request is forwarded to the upstream cluster.Mutations.BuilderaddRequestMutations(int index, HeaderMutation.Builder builderForValue)The request mutations are applied before the request is forwarded to the upstream cluster.Mutations.BuilderaddRequestMutations(HeaderMutation value)The request mutations are applied before the request is forwarded to the upstream cluster.Mutations.BuilderaddRequestMutations(HeaderMutation.Builder builderForValue)The request mutations are applied before the request is forwarded to the upstream cluster.HeaderMutation.BuilderaddRequestMutationsBuilder()The request mutations are applied before the request is forwarded to the upstream cluster.HeaderMutation.BuilderaddRequestMutationsBuilder(int index)The request mutations are applied before the request is forwarded to the upstream cluster.Mutations.BuilderaddResponseMutations(int index, HeaderMutation value)The response mutations are applied before the response is sent to the downstream client.Mutations.BuilderaddResponseMutations(int index, HeaderMutation.Builder builderForValue)The response mutations are applied before the response is sent to the downstream client.Mutations.BuilderaddResponseMutations(HeaderMutation value)The response mutations are applied before the response is sent to the downstream client.Mutations.BuilderaddResponseMutations(HeaderMutation.Builder builderForValue)The response mutations are applied before the response is sent to the downstream client.HeaderMutation.BuilderaddResponseMutationsBuilder()The response mutations are applied before the response is sent to the downstream client.HeaderMutation.BuilderaddResponseMutationsBuilder(int index)The response mutations are applied before the response is sent to the downstream client.Mutationsbuild()MutationsbuildPartial()Mutations.Builderclear()Mutations.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Mutations.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Mutations.BuilderclearRequestMutations()The request mutations are applied before the request is forwarded to the upstream cluster.Mutations.BuilderclearResponseMutations()The response mutations are applied before the response is sent to the downstream client.Mutations.Builderclone()MutationsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()HeaderMutationgetRequestMutations(int index)The request mutations are applied before the request is forwarded to the upstream cluster.HeaderMutation.BuildergetRequestMutationsBuilder(int index)The request mutations are applied before the request is forwarded to the upstream cluster.List<HeaderMutation.Builder>getRequestMutationsBuilderList()The request mutations are applied before the request is forwarded to the upstream cluster.intgetRequestMutationsCount()The request mutations are applied before the request is forwarded to the upstream cluster.List<HeaderMutation>getRequestMutationsList()The request mutations are applied before the request is forwarded to the upstream cluster.HeaderMutationOrBuildergetRequestMutationsOrBuilder(int index)The request mutations are applied before the request is forwarded to the upstream cluster.List<? extends HeaderMutationOrBuilder>getRequestMutationsOrBuilderList()The request mutations are applied before the request is forwarded to the upstream cluster.HeaderMutationgetResponseMutations(int index)The response mutations are applied before the response is sent to the downstream client.HeaderMutation.BuildergetResponseMutationsBuilder(int index)The response mutations are applied before the response is sent to the downstream client.List<HeaderMutation.Builder>getResponseMutationsBuilderList()The response mutations are applied before the response is sent to the downstream client.intgetResponseMutationsCount()The response mutations are applied before the response is sent to the downstream client.List<HeaderMutation>getResponseMutationsList()The response mutations are applied before the response is sent to the downstream client.HeaderMutationOrBuildergetResponseMutationsOrBuilder(int index)The response mutations are applied before the response is sent to the downstream client.List<? extends HeaderMutationOrBuilder>getResponseMutationsOrBuilderList()The response mutations are applied before the response is sent to the downstream client.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Mutations.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Mutations.BuildermergeFrom(com.google.protobuf.Message other)Mutations.BuildermergeFrom(Mutations other)Mutations.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Mutations.BuilderremoveRequestMutations(int index)The request mutations are applied before the request is forwarded to the upstream cluster.Mutations.BuilderremoveResponseMutations(int index)The response mutations are applied before the response is sent to the downstream client.Mutations.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Mutations.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Mutations.BuildersetRequestMutations(int index, HeaderMutation value)The request mutations are applied before the request is forwarded to the upstream cluster.Mutations.BuildersetRequestMutations(int index, HeaderMutation.Builder builderForValue)The request mutations are applied before the request is forwarded to the upstream cluster.Mutations.BuildersetResponseMutations(int index, HeaderMutation value)The response mutations are applied before the response is sent to the downstream client.Mutations.BuildersetResponseMutations(int index, HeaderMutation.Builder builderForValue)The response mutations are applied before the response is sent to the downstream client.Mutations.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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
-
-
-
-
Method Detail
-
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<Mutations.Builder>
-
clear
public Mutations.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<Mutations.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<Mutations.Builder>
-
getDefaultInstanceForType
public Mutations getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Mutations build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Mutations buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Mutations.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<Mutations.Builder>
-
setField
public Mutations.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<Mutations.Builder>
-
clearField
public Mutations.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Mutations.Builder>
-
clearOneof
public Mutations.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Mutations.Builder>
-
setRepeatedField
public Mutations.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<Mutations.Builder>
-
addRepeatedField
public Mutations.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<Mutations.Builder>
-
mergeFrom
public Mutations.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Mutations.Builder>
-
mergeFrom
public Mutations.Builder mergeFrom(Mutations other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Mutations.Builder>
-
mergeFrom
public Mutations.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<Mutations.Builder>- Throws:
IOException
-
getRequestMutationsList
public List<HeaderMutation> getRequestMutationsList()
The request mutations are applied before the request is forwarded to the upstream cluster.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation request_mutations = 1;- Specified by:
getRequestMutationsListin interfaceMutationsOrBuilder
-
getRequestMutationsCount
public int getRequestMutationsCount()
The request mutations are applied before the request is forwarded to the upstream cluster.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation request_mutations = 1;- Specified by:
getRequestMutationsCountin interfaceMutationsOrBuilder
-
getRequestMutations
public HeaderMutation getRequestMutations(int index)
The request mutations are applied before the request is forwarded to the upstream cluster.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation request_mutations = 1;- Specified by:
getRequestMutationsin interfaceMutationsOrBuilder
-
setRequestMutations
public Mutations.Builder setRequestMutations(int index, HeaderMutation value)
The request mutations are applied before the request is forwarded to the upstream cluster.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation request_mutations = 1;
-
setRequestMutations
public Mutations.Builder setRequestMutations(int index, HeaderMutation.Builder builderForValue)
The request mutations are applied before the request is forwarded to the upstream cluster.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation request_mutations = 1;
-
addRequestMutations
public Mutations.Builder addRequestMutations(HeaderMutation value)
The request mutations are applied before the request is forwarded to the upstream cluster.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation request_mutations = 1;
-
addRequestMutations
public Mutations.Builder addRequestMutations(int index, HeaderMutation value)
The request mutations are applied before the request is forwarded to the upstream cluster.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation request_mutations = 1;
-
addRequestMutations
public Mutations.Builder addRequestMutations(HeaderMutation.Builder builderForValue)
The request mutations are applied before the request is forwarded to the upstream cluster.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation request_mutations = 1;
-
addRequestMutations
public Mutations.Builder addRequestMutations(int index, HeaderMutation.Builder builderForValue)
The request mutations are applied before the request is forwarded to the upstream cluster.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation request_mutations = 1;
-
addAllRequestMutations
public Mutations.Builder addAllRequestMutations(Iterable<? extends HeaderMutation> values)
The request mutations are applied before the request is forwarded to the upstream cluster.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation request_mutations = 1;
-
clearRequestMutations
public Mutations.Builder clearRequestMutations()
The request mutations are applied before the request is forwarded to the upstream cluster.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation request_mutations = 1;
-
removeRequestMutations
public Mutations.Builder removeRequestMutations(int index)
The request mutations are applied before the request is forwarded to the upstream cluster.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation request_mutations = 1;
-
getRequestMutationsBuilder
public HeaderMutation.Builder getRequestMutationsBuilder(int index)
The request mutations are applied before the request is forwarded to the upstream cluster.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation request_mutations = 1;
-
getRequestMutationsOrBuilder
public HeaderMutationOrBuilder getRequestMutationsOrBuilder(int index)
The request mutations are applied before the request is forwarded to the upstream cluster.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation request_mutations = 1;- Specified by:
getRequestMutationsOrBuilderin interfaceMutationsOrBuilder
-
getRequestMutationsOrBuilderList
public List<? extends HeaderMutationOrBuilder> getRequestMutationsOrBuilderList()
The request mutations are applied before the request is forwarded to the upstream cluster.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation request_mutations = 1;- Specified by:
getRequestMutationsOrBuilderListin interfaceMutationsOrBuilder
-
addRequestMutationsBuilder
public HeaderMutation.Builder addRequestMutationsBuilder()
The request mutations are applied before the request is forwarded to the upstream cluster.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation request_mutations = 1;
-
addRequestMutationsBuilder
public HeaderMutation.Builder addRequestMutationsBuilder(int index)
The request mutations are applied before the request is forwarded to the upstream cluster.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation request_mutations = 1;
-
getRequestMutationsBuilderList
public List<HeaderMutation.Builder> getRequestMutationsBuilderList()
The request mutations are applied before the request is forwarded to the upstream cluster.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation request_mutations = 1;
-
getResponseMutationsList
public List<HeaderMutation> getResponseMutationsList()
The response mutations are applied before the response is sent to the downstream client.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation response_mutations = 2;- Specified by:
getResponseMutationsListin interfaceMutationsOrBuilder
-
getResponseMutationsCount
public int getResponseMutationsCount()
The response mutations are applied before the response is sent to the downstream client.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation response_mutations = 2;- Specified by:
getResponseMutationsCountin interfaceMutationsOrBuilder
-
getResponseMutations
public HeaderMutation getResponseMutations(int index)
The response mutations are applied before the response is sent to the downstream client.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation response_mutations = 2;- Specified by:
getResponseMutationsin interfaceMutationsOrBuilder
-
setResponseMutations
public Mutations.Builder setResponseMutations(int index, HeaderMutation value)
The response mutations are applied before the response is sent to the downstream client.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation response_mutations = 2;
-
setResponseMutations
public Mutations.Builder setResponseMutations(int index, HeaderMutation.Builder builderForValue)
The response mutations are applied before the response is sent to the downstream client.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation response_mutations = 2;
-
addResponseMutations
public Mutations.Builder addResponseMutations(HeaderMutation value)
The response mutations are applied before the response is sent to the downstream client.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation response_mutations = 2;
-
addResponseMutations
public Mutations.Builder addResponseMutations(int index, HeaderMutation value)
The response mutations are applied before the response is sent to the downstream client.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation response_mutations = 2;
-
addResponseMutations
public Mutations.Builder addResponseMutations(HeaderMutation.Builder builderForValue)
The response mutations are applied before the response is sent to the downstream client.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation response_mutations = 2;
-
addResponseMutations
public Mutations.Builder addResponseMutations(int index, HeaderMutation.Builder builderForValue)
The response mutations are applied before the response is sent to the downstream client.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation response_mutations = 2;
-
addAllResponseMutations
public Mutations.Builder addAllResponseMutations(Iterable<? extends HeaderMutation> values)
The response mutations are applied before the response is sent to the downstream client.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation response_mutations = 2;
-
clearResponseMutations
public Mutations.Builder clearResponseMutations()
The response mutations are applied before the response is sent to the downstream client.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation response_mutations = 2;
-
removeResponseMutations
public Mutations.Builder removeResponseMutations(int index)
The response mutations are applied before the response is sent to the downstream client.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation response_mutations = 2;
-
getResponseMutationsBuilder
public HeaderMutation.Builder getResponseMutationsBuilder(int index)
The response mutations are applied before the response is sent to the downstream client.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation response_mutations = 2;
-
getResponseMutationsOrBuilder
public HeaderMutationOrBuilder getResponseMutationsOrBuilder(int index)
The response mutations are applied before the response is sent to the downstream client.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation response_mutations = 2;- Specified by:
getResponseMutationsOrBuilderin interfaceMutationsOrBuilder
-
getResponseMutationsOrBuilderList
public List<? extends HeaderMutationOrBuilder> getResponseMutationsOrBuilderList()
The response mutations are applied before the response is sent to the downstream client.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation response_mutations = 2;- Specified by:
getResponseMutationsOrBuilderListin interfaceMutationsOrBuilder
-
addResponseMutationsBuilder
public HeaderMutation.Builder addResponseMutationsBuilder()
The response mutations are applied before the response is sent to the downstream client.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation response_mutations = 2;
-
addResponseMutationsBuilder
public HeaderMutation.Builder addResponseMutationsBuilder(int index)
The response mutations are applied before the response is sent to the downstream client.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation response_mutations = 2;
-
getResponseMutationsBuilderList
public List<HeaderMutation.Builder> getResponseMutationsBuilderList()
The response mutations are applied before the response is sent to the downstream client.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation response_mutations = 2;
-
setUnknownFields
public final Mutations.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Mutations.Builder>
-
mergeUnknownFields
public final Mutations.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Mutations.Builder>
-
-