Class Http1ProtocolOptions.HeaderKeyFormat.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Http1ProtocolOptions.HeaderKeyFormat.Builder>
com.google.protobuf.GeneratedMessage.Builder<Http1ProtocolOptions.HeaderKeyFormat.Builder>
io.envoyproxy.envoy.config.core.v3.Http1ProtocolOptions.HeaderKeyFormat.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Http1ProtocolOptions.HeaderKeyFormatOrBuilder, Cloneable
- Enclosing class:
Http1ProtocolOptions.HeaderKeyFormat
public static final class Http1ProtocolOptions.HeaderKeyFormat.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Http1ProtocolOptions.HeaderKeyFormat.Builder>
implements Http1ProtocolOptions.HeaderKeyFormatOrBuilder
[#next-free-field: 9]Protobuf type
envoy.config.core.v3.Http1ProtocolOptions.HeaderKeyFormat-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate Objectprivate intprivate com.google.protobuf.SingleFieldBuilder<Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords, Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords.Builder, Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWordsOrBuilder> private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig, TypedExtensionConfig.Builder, TypedExtensionConfigOrBuilder> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()private voidprivate voidclear()Formats the header by proper casing words: the first character and any character following a special character will be capitalized if it's an alpha character.Configuration for stateful formatter extensions that allow using received headers to affect the output of encoding headers.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorFormats the header by proper casing words: the first character and any character following a special character will be capitalized if it's an alpha character.Formats the header by proper casing words: the first character and any character following a special character will be capitalized if it's an alpha character.Formats the header by proper casing words: the first character and any character following a special character will be capitalized if it's an alpha character.Configuration for stateful formatter extensions that allow using received headers to affect the output of encoding headers.Configuration for stateful formatter extensions that allow using received headers to affect the output of encoding headers.Configuration for stateful formatter extensions that allow using received headers to affect the output of encoding headers.booleanFormats the header by proper casing words: the first character and any character following a special character will be capitalized if it's an alpha character.booleanConfiguration for stateful formatter extensions that allow using received headers to affect the output of encoding headers.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprivate com.google.protobuf.SingleFieldBuilder<Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords, Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords.Builder, Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWordsOrBuilder> Formats the header by proper casing words: the first character and any character following a special character will be capitalized if it's an alpha character.private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig, TypedExtensionConfig.Builder, TypedExtensionConfigOrBuilder> Configuration for stateful formatter extensions that allow using received headers to affect the output of encoding headers.final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Formats the header by proper casing words: the first character and any character following a special character will be capitalized if it's an alpha character.Configuration for stateful formatter extensions that allow using received headers to affect the output of encoding headers.Formats the header by proper casing words: the first character and any character following a special character will be capitalized if it's an alpha character.Formats the header by proper casing words: the first character and any character following a special character will be capitalized if it's an alpha character.Configuration for stateful formatter extensions that allow using received headers to affect the output of encoding headers.setStatefulFormatter(TypedExtensionConfig.Builder builderForValue) Configuration for stateful formatter extensions that allow using received headers to affect the output of encoding headers.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, 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 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
-
Field Details
-
headerFormatCase_
private int headerFormatCase_ -
headerFormat_
-
bitField0_
private int bitField0_ -
properCaseWordsBuilder_
private com.google.protobuf.SingleFieldBuilder<Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords, Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords.Builder, Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWordsOrBuilder> properCaseWordsBuilder_ -
statefulFormatterBuilder_
private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig, TypedExtensionConfig.Builder, TypedExtensionConfigOrBuilder> statefulFormatterBuilder_
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
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<Http1ProtocolOptions.HeaderKeyFormat.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<Http1ProtocolOptions.HeaderKeyFormat.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<Http1ProtocolOptions.HeaderKeyFormat.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
-
buildPartial0
-
buildPartialOneofs
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Http1ProtocolOptions.HeaderKeyFormat.Builder>
-
mergeFrom
public Http1ProtocolOptions.HeaderKeyFormat.Builder mergeFrom(Http1ProtocolOptions.HeaderKeyFormat other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Http1ProtocolOptions.HeaderKeyFormat.Builder>
-
mergeFrom
public Http1ProtocolOptions.HeaderKeyFormat.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<Http1ProtocolOptions.HeaderKeyFormat.Builder>- Throws:
IOException
-
getHeaderFormatCase
- Specified by:
getHeaderFormatCasein interfaceHttp1ProtocolOptions.HeaderKeyFormatOrBuilder
-
clearHeaderFormat
-
hasProperCaseWords
public boolean hasProperCaseWords()Formats the header by proper casing words: the first character and any character following a special character will be capitalized if it's an alpha character. For example, "content-type" becomes "Content-Type", and "foo$b#$are" becomes "Foo$B#$Are". Note that while this results in most headers following conventional casing, certain headers are not covered. For example, the "TE" header will be formatted as "Te".
.envoy.config.core.v3.Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords proper_case_words = 1;- Specified by:
hasProperCaseWordsin interfaceHttp1ProtocolOptions.HeaderKeyFormatOrBuilder- Returns:
- Whether the properCaseWords field is set.
-
getProperCaseWords
Formats the header by proper casing words: the first character and any character following a special character will be capitalized if it's an alpha character. For example, "content-type" becomes "Content-Type", and "foo$b#$are" becomes "Foo$B#$Are". Note that while this results in most headers following conventional casing, certain headers are not covered. For example, the "TE" header will be formatted as "Te".
.envoy.config.core.v3.Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords proper_case_words = 1;- Specified by:
getProperCaseWordsin interfaceHttp1ProtocolOptions.HeaderKeyFormatOrBuilder- Returns:
- The properCaseWords.
-
setProperCaseWords
public Http1ProtocolOptions.HeaderKeyFormat.Builder setProperCaseWords(Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords value) Formats the header by proper casing words: the first character and any character following a special character will be capitalized if it's an alpha character. For example, "content-type" becomes "Content-Type", and "foo$b#$are" becomes "Foo$B#$Are". Note that while this results in most headers following conventional casing, certain headers are not covered. For example, the "TE" header will be formatted as "Te".
.envoy.config.core.v3.Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords proper_case_words = 1; -
setProperCaseWords
public Http1ProtocolOptions.HeaderKeyFormat.Builder setProperCaseWords(Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords.Builder builderForValue) Formats the header by proper casing words: the first character and any character following a special character will be capitalized if it's an alpha character. For example, "content-type" becomes "Content-Type", and "foo$b#$are" becomes "Foo$B#$Are". Note that while this results in most headers following conventional casing, certain headers are not covered. For example, the "TE" header will be formatted as "Te".
.envoy.config.core.v3.Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords proper_case_words = 1; -
mergeProperCaseWords
public Http1ProtocolOptions.HeaderKeyFormat.Builder mergeProperCaseWords(Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords value) Formats the header by proper casing words: the first character and any character following a special character will be capitalized if it's an alpha character. For example, "content-type" becomes "Content-Type", and "foo$b#$are" becomes "Foo$B#$Are". Note that while this results in most headers following conventional casing, certain headers are not covered. For example, the "TE" header will be formatted as "Te".
.envoy.config.core.v3.Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords proper_case_words = 1; -
clearProperCaseWords
Formats the header by proper casing words: the first character and any character following a special character will be capitalized if it's an alpha character. For example, "content-type" becomes "Content-Type", and "foo$b#$are" becomes "Foo$B#$Are". Note that while this results in most headers following conventional casing, certain headers are not covered. For example, the "TE" header will be formatted as "Te".
.envoy.config.core.v3.Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords proper_case_words = 1; -
getProperCaseWordsBuilder
Formats the header by proper casing words: the first character and any character following a special character will be capitalized if it's an alpha character. For example, "content-type" becomes "Content-Type", and "foo$b#$are" becomes "Foo$B#$Are". Note that while this results in most headers following conventional casing, certain headers are not covered. For example, the "TE" header will be formatted as "Te".
.envoy.config.core.v3.Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords proper_case_words = 1; -
getProperCaseWordsOrBuilder
Formats the header by proper casing words: the first character and any character following a special character will be capitalized if it's an alpha character. For example, "content-type" becomes "Content-Type", and "foo$b#$are" becomes "Foo$B#$Are". Note that while this results in most headers following conventional casing, certain headers are not covered. For example, the "TE" header will be formatted as "Te".
.envoy.config.core.v3.Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords proper_case_words = 1;- Specified by:
getProperCaseWordsOrBuilderin interfaceHttp1ProtocolOptions.HeaderKeyFormatOrBuilder
-
internalGetProperCaseWordsFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords, Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords.Builder, Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWordsOrBuilder> internalGetProperCaseWordsFieldBuilder()Formats the header by proper casing words: the first character and any character following a special character will be capitalized if it's an alpha character. For example, "content-type" becomes "Content-Type", and "foo$b#$are" becomes "Foo$B#$Are". Note that while this results in most headers following conventional casing, certain headers are not covered. For example, the "TE" header will be formatted as "Te".
.envoy.config.core.v3.Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords proper_case_words = 1; -
hasStatefulFormatter
public boolean hasStatefulFormatter()Configuration for stateful formatter extensions that allow using received headers to affect the output of encoding headers. E.g., preserving case during proxying. [#extension-category: envoy.http.stateful_header_formatters]
.envoy.config.core.v3.TypedExtensionConfig stateful_formatter = 8;- Specified by:
hasStatefulFormatterin interfaceHttp1ProtocolOptions.HeaderKeyFormatOrBuilder- Returns:
- Whether the statefulFormatter field is set.
-
getStatefulFormatter
Configuration for stateful formatter extensions that allow using received headers to affect the output of encoding headers. E.g., preserving case during proxying. [#extension-category: envoy.http.stateful_header_formatters]
.envoy.config.core.v3.TypedExtensionConfig stateful_formatter = 8;- Specified by:
getStatefulFormatterin interfaceHttp1ProtocolOptions.HeaderKeyFormatOrBuilder- Returns:
- The statefulFormatter.
-
setStatefulFormatter
public Http1ProtocolOptions.HeaderKeyFormat.Builder setStatefulFormatter(TypedExtensionConfig value) Configuration for stateful formatter extensions that allow using received headers to affect the output of encoding headers. E.g., preserving case during proxying. [#extension-category: envoy.http.stateful_header_formatters]
.envoy.config.core.v3.TypedExtensionConfig stateful_formatter = 8; -
setStatefulFormatter
public Http1ProtocolOptions.HeaderKeyFormat.Builder setStatefulFormatter(TypedExtensionConfig.Builder builderForValue) Configuration for stateful formatter extensions that allow using received headers to affect the output of encoding headers. E.g., preserving case during proxying. [#extension-category: envoy.http.stateful_header_formatters]
.envoy.config.core.v3.TypedExtensionConfig stateful_formatter = 8; -
mergeStatefulFormatter
public Http1ProtocolOptions.HeaderKeyFormat.Builder mergeStatefulFormatter(TypedExtensionConfig value) Configuration for stateful formatter extensions that allow using received headers to affect the output of encoding headers. E.g., preserving case during proxying. [#extension-category: envoy.http.stateful_header_formatters]
.envoy.config.core.v3.TypedExtensionConfig stateful_formatter = 8; -
clearStatefulFormatter
Configuration for stateful formatter extensions that allow using received headers to affect the output of encoding headers. E.g., preserving case during proxying. [#extension-category: envoy.http.stateful_header_formatters]
.envoy.config.core.v3.TypedExtensionConfig stateful_formatter = 8; -
getStatefulFormatterBuilder
Configuration for stateful formatter extensions that allow using received headers to affect the output of encoding headers. E.g., preserving case during proxying. [#extension-category: envoy.http.stateful_header_formatters]
.envoy.config.core.v3.TypedExtensionConfig stateful_formatter = 8; -
getStatefulFormatterOrBuilder
Configuration for stateful formatter extensions that allow using received headers to affect the output of encoding headers. E.g., preserving case during proxying. [#extension-category: envoy.http.stateful_header_formatters]
.envoy.config.core.v3.TypedExtensionConfig stateful_formatter = 8;- Specified by:
getStatefulFormatterOrBuilderin interfaceHttp1ProtocolOptions.HeaderKeyFormatOrBuilder
-
internalGetStatefulFormatterFieldBuilder
private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig, TypedExtensionConfig.Builder, TypedExtensionConfigOrBuilder> internalGetStatefulFormatterFieldBuilder()Configuration for stateful formatter extensions that allow using received headers to affect the output of encoding headers. E.g., preserving case during proxying. [#extension-category: envoy.http.stateful_header_formatters]
.envoy.config.core.v3.TypedExtensionConfig stateful_formatter = 8;
-