public static final class HeaderMutation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HeaderMutation.Builder> implements HeaderMutationOrBuilder
Change HTTP headers or trailers by appending, replacing, or removing headers.Protobuf type
envoy.service.ext_proc.v3alpha.HeaderMutation| Modifier and Type | Method and Description |
|---|---|
HeaderMutation.Builder |
addAllRemoveHeaders(Iterable<String> values)
Remove these HTTP headers.
|
HeaderMutation.Builder |
addAllSetHeaders(Iterable<? extends HeaderValueOption> values)
Add or replace HTTP headers.
|
HeaderMutation.Builder |
addRemoveHeaders(String value)
Remove these HTTP headers.
|
HeaderMutation.Builder |
addRemoveHeadersBytes(com.google.protobuf.ByteString value)
Remove these HTTP headers.
|
HeaderMutation.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HeaderMutation.Builder |
addSetHeaders(HeaderValueOption.Builder builderForValue)
Add or replace HTTP headers.
|
HeaderMutation.Builder |
addSetHeaders(HeaderValueOption value)
Add or replace HTTP headers.
|
HeaderMutation.Builder |
addSetHeaders(int index,
HeaderValueOption.Builder builderForValue)
Add or replace HTTP headers.
|
HeaderMutation.Builder |
addSetHeaders(int index,
HeaderValueOption value)
Add or replace HTTP headers.
|
HeaderValueOption.Builder |
addSetHeadersBuilder()
Add or replace HTTP headers.
|
HeaderValueOption.Builder |
addSetHeadersBuilder(int index)
Add or replace HTTP headers.
|
HeaderMutation |
build() |
HeaderMutation |
buildPartial() |
HeaderMutation.Builder |
clear() |
HeaderMutation.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
HeaderMutation.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
HeaderMutation.Builder |
clearRemoveHeaders()
Remove these HTTP headers.
|
HeaderMutation.Builder |
clearSetHeaders()
Add or replace HTTP headers.
|
HeaderMutation.Builder |
clone() |
HeaderMutation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getRemoveHeaders(int index)
Remove these HTTP headers.
|
com.google.protobuf.ByteString |
getRemoveHeadersBytes(int index)
Remove these HTTP headers.
|
int |
getRemoveHeadersCount()
Remove these HTTP headers.
|
com.google.protobuf.ProtocolStringList |
getRemoveHeadersList()
Remove these HTTP headers.
|
HeaderValueOption |
getSetHeaders(int index)
Add or replace HTTP headers.
|
HeaderValueOption.Builder |
getSetHeadersBuilder(int index)
Add or replace HTTP headers.
|
List<HeaderValueOption.Builder> |
getSetHeadersBuilderList()
Add or replace HTTP headers.
|
int |
getSetHeadersCount()
Add or replace HTTP headers.
|
List<HeaderValueOption> |
getSetHeadersList()
Add or replace HTTP headers.
|
HeaderValueOptionOrBuilder |
getSetHeadersOrBuilder(int index)
Add or replace HTTP headers.
|
List<? extends HeaderValueOptionOrBuilder> |
getSetHeadersOrBuilderList()
Add or replace HTTP headers.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
HeaderMutation.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HeaderMutation.Builder |
mergeFrom(HeaderMutation other) |
HeaderMutation.Builder |
mergeFrom(com.google.protobuf.Message other) |
HeaderMutation.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
HeaderMutation.Builder |
removeSetHeaders(int index)
Add or replace HTTP headers.
|
HeaderMutation.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HeaderMutation.Builder |
setRemoveHeaders(int index,
String value)
Remove these HTTP headers.
|
HeaderMutation.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
HeaderMutation.Builder |
setSetHeaders(int index,
HeaderValueOption.Builder builderForValue)
Add or replace HTTP headers.
|
HeaderMutation.Builder |
setSetHeaders(int index,
HeaderValueOption value)
Add or replace HTTP headers.
|
HeaderMutation.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<HeaderMutation.Builder>public HeaderMutation.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<HeaderMutation.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<HeaderMutation.Builder>public HeaderMutation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic HeaderMutation build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic HeaderMutation buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic HeaderMutation.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<HeaderMutation.Builder>public HeaderMutation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<HeaderMutation.Builder>public HeaderMutation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<HeaderMutation.Builder>public HeaderMutation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<HeaderMutation.Builder>public HeaderMutation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HeaderMutation.Builder>public HeaderMutation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HeaderMutation.Builder>public HeaderMutation.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HeaderMutation.Builder>public HeaderMutation.Builder mergeFrom(HeaderMutation other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<HeaderMutation.Builder>public HeaderMutation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HeaderMutation.Builder>IOExceptionpublic List<HeaderValueOption> getSetHeadersList()
Add or replace HTTP headers. Attempts to set the value of any "x-envoy" header, and attempts to set the ":method", ":authority", ":scheme", or "host" headers will be ignored.
repeated .envoy.config.core.v3.HeaderValueOption set_headers = 1;getSetHeadersList in interface HeaderMutationOrBuilderpublic int getSetHeadersCount()
Add or replace HTTP headers. Attempts to set the value of any "x-envoy" header, and attempts to set the ":method", ":authority", ":scheme", or "host" headers will be ignored.
repeated .envoy.config.core.v3.HeaderValueOption set_headers = 1;getSetHeadersCount in interface HeaderMutationOrBuilderpublic HeaderValueOption getSetHeaders(int index)
Add or replace HTTP headers. Attempts to set the value of any "x-envoy" header, and attempts to set the ":method", ":authority", ":scheme", or "host" headers will be ignored.
repeated .envoy.config.core.v3.HeaderValueOption set_headers = 1;getSetHeaders in interface HeaderMutationOrBuilderpublic HeaderMutation.Builder setSetHeaders(int index, HeaderValueOption value)
Add or replace HTTP headers. Attempts to set the value of any "x-envoy" header, and attempts to set the ":method", ":authority", ":scheme", or "host" headers will be ignored.
repeated .envoy.config.core.v3.HeaderValueOption set_headers = 1;public HeaderMutation.Builder setSetHeaders(int index, HeaderValueOption.Builder builderForValue)
Add or replace HTTP headers. Attempts to set the value of any "x-envoy" header, and attempts to set the ":method", ":authority", ":scheme", or "host" headers will be ignored.
repeated .envoy.config.core.v3.HeaderValueOption set_headers = 1;public HeaderMutation.Builder addSetHeaders(HeaderValueOption value)
Add or replace HTTP headers. Attempts to set the value of any "x-envoy" header, and attempts to set the ":method", ":authority", ":scheme", or "host" headers will be ignored.
repeated .envoy.config.core.v3.HeaderValueOption set_headers = 1;public HeaderMutation.Builder addSetHeaders(int index, HeaderValueOption value)
Add or replace HTTP headers. Attempts to set the value of any "x-envoy" header, and attempts to set the ":method", ":authority", ":scheme", or "host" headers will be ignored.
repeated .envoy.config.core.v3.HeaderValueOption set_headers = 1;public HeaderMutation.Builder addSetHeaders(HeaderValueOption.Builder builderForValue)
Add or replace HTTP headers. Attempts to set the value of any "x-envoy" header, and attempts to set the ":method", ":authority", ":scheme", or "host" headers will be ignored.
repeated .envoy.config.core.v3.HeaderValueOption set_headers = 1;public HeaderMutation.Builder addSetHeaders(int index, HeaderValueOption.Builder builderForValue)
Add or replace HTTP headers. Attempts to set the value of any "x-envoy" header, and attempts to set the ":method", ":authority", ":scheme", or "host" headers will be ignored.
repeated .envoy.config.core.v3.HeaderValueOption set_headers = 1;public HeaderMutation.Builder addAllSetHeaders(Iterable<? extends HeaderValueOption> values)
Add or replace HTTP headers. Attempts to set the value of any "x-envoy" header, and attempts to set the ":method", ":authority", ":scheme", or "host" headers will be ignored.
repeated .envoy.config.core.v3.HeaderValueOption set_headers = 1;public HeaderMutation.Builder clearSetHeaders()
Add or replace HTTP headers. Attempts to set the value of any "x-envoy" header, and attempts to set the ":method", ":authority", ":scheme", or "host" headers will be ignored.
repeated .envoy.config.core.v3.HeaderValueOption set_headers = 1;public HeaderMutation.Builder removeSetHeaders(int index)
Add or replace HTTP headers. Attempts to set the value of any "x-envoy" header, and attempts to set the ":method", ":authority", ":scheme", or "host" headers will be ignored.
repeated .envoy.config.core.v3.HeaderValueOption set_headers = 1;public HeaderValueOption.Builder getSetHeadersBuilder(int index)
Add or replace HTTP headers. Attempts to set the value of any "x-envoy" header, and attempts to set the ":method", ":authority", ":scheme", or "host" headers will be ignored.
repeated .envoy.config.core.v3.HeaderValueOption set_headers = 1;public HeaderValueOptionOrBuilder getSetHeadersOrBuilder(int index)
Add or replace HTTP headers. Attempts to set the value of any "x-envoy" header, and attempts to set the ":method", ":authority", ":scheme", or "host" headers will be ignored.
repeated .envoy.config.core.v3.HeaderValueOption set_headers = 1;getSetHeadersOrBuilder in interface HeaderMutationOrBuilderpublic List<? extends HeaderValueOptionOrBuilder> getSetHeadersOrBuilderList()
Add or replace HTTP headers. Attempts to set the value of any "x-envoy" header, and attempts to set the ":method", ":authority", ":scheme", or "host" headers will be ignored.
repeated .envoy.config.core.v3.HeaderValueOption set_headers = 1;getSetHeadersOrBuilderList in interface HeaderMutationOrBuilderpublic HeaderValueOption.Builder addSetHeadersBuilder()
Add or replace HTTP headers. Attempts to set the value of any "x-envoy" header, and attempts to set the ":method", ":authority", ":scheme", or "host" headers will be ignored.
repeated .envoy.config.core.v3.HeaderValueOption set_headers = 1;public HeaderValueOption.Builder addSetHeadersBuilder(int index)
Add or replace HTTP headers. Attempts to set the value of any "x-envoy" header, and attempts to set the ":method", ":authority", ":scheme", or "host" headers will be ignored.
repeated .envoy.config.core.v3.HeaderValueOption set_headers = 1;public List<HeaderValueOption.Builder> getSetHeadersBuilderList()
Add or replace HTTP headers. Attempts to set the value of any "x-envoy" header, and attempts to set the ":method", ":authority", ":scheme", or "host" headers will be ignored.
repeated .envoy.config.core.v3.HeaderValueOption set_headers = 1;public com.google.protobuf.ProtocolStringList getRemoveHeadersList()
Remove these HTTP headers. Attempts to remove system headers -- any header starting with ":", plus "host" -- will be ignored.
repeated string remove_headers = 2;getRemoveHeadersList in interface HeaderMutationOrBuilderpublic int getRemoveHeadersCount()
Remove these HTTP headers. Attempts to remove system headers -- any header starting with ":", plus "host" -- will be ignored.
repeated string remove_headers = 2;getRemoveHeadersCount in interface HeaderMutationOrBuilderpublic String getRemoveHeaders(int index)
Remove these HTTP headers. Attempts to remove system headers -- any header starting with ":", plus "host" -- will be ignored.
repeated string remove_headers = 2;getRemoveHeaders in interface HeaderMutationOrBuilderpublic com.google.protobuf.ByteString getRemoveHeadersBytes(int index)
Remove these HTTP headers. Attempts to remove system headers -- any header starting with ":", plus "host" -- will be ignored.
repeated string remove_headers = 2;getRemoveHeadersBytes in interface HeaderMutationOrBuilderpublic HeaderMutation.Builder setRemoveHeaders(int index, String value)
Remove these HTTP headers. Attempts to remove system headers -- any header starting with ":", plus "host" -- will be ignored.
repeated string remove_headers = 2;public HeaderMutation.Builder addRemoveHeaders(String value)
Remove these HTTP headers. Attempts to remove system headers -- any header starting with ":", plus "host" -- will be ignored.
repeated string remove_headers = 2;public HeaderMutation.Builder addAllRemoveHeaders(Iterable<String> values)
Remove these HTTP headers. Attempts to remove system headers -- any header starting with ":", plus "host" -- will be ignored.
repeated string remove_headers = 2;public HeaderMutation.Builder clearRemoveHeaders()
Remove these HTTP headers. Attempts to remove system headers -- any header starting with ":", plus "host" -- will be ignored.
repeated string remove_headers = 2;public HeaderMutation.Builder addRemoveHeadersBytes(com.google.protobuf.ByteString value)
Remove these HTTP headers. Attempts to remove system headers -- any header starting with ":", plus "host" -- will be ignored.
repeated string remove_headers = 2;public final HeaderMutation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HeaderMutation.Builder>public final HeaderMutation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HeaderMutation.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.