Class Http1ProtocolOptions.HeaderKeyFormat.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Http1ProtocolOptions.HeaderKeyFormat.Builder> implements Http1ProtocolOptions.HeaderKeyFormatOrBuilder
[#next-free-field: 9]
Protobuf typeenvoy.config.core.v3.Http1ProtocolOptions.HeaderKeyFormat
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Http1ProtocolOptions.HeaderKeyFormat.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Http1ProtocolOptions.HeaderKeyFormatbuild()Http1ProtocolOptions.HeaderKeyFormatbuildPartial()Http1ProtocolOptions.HeaderKeyFormat.Builderclear()Http1ProtocolOptions.HeaderKeyFormat.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Http1ProtocolOptions.HeaderKeyFormat.BuilderclearHeaderFormat()Http1ProtocolOptions.HeaderKeyFormat.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Http1ProtocolOptions.HeaderKeyFormat.BuilderclearProperCaseWords()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.Http1ProtocolOptions.HeaderKeyFormat.BuilderclearStatefulFormatter()Configuration for stateful formatter extensions that allow using received headers to affect the output of encoding headers.Http1ProtocolOptions.HeaderKeyFormat.Builderclone()Http1ProtocolOptions.HeaderKeyFormatgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Http1ProtocolOptions.HeaderKeyFormat.HeaderFormatCasegetHeaderFormatCase()Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWordsgetProperCaseWords()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.Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords.BuildergetProperCaseWordsBuilder()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.Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWordsOrBuildergetProperCaseWordsOrBuilder()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.TypedExtensionConfiggetStatefulFormatter()Configuration for stateful formatter extensions that allow using received headers to affect the output of encoding headers.TypedExtensionConfig.BuildergetStatefulFormatterBuilder()Configuration for stateful formatter extensions that allow using received headers to affect the output of encoding headers.TypedExtensionConfigOrBuildergetStatefulFormatterOrBuilder()Configuration for stateful formatter extensions that allow using received headers to affect the output of encoding headers.booleanhasProperCaseWords()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.booleanhasStatefulFormatter()Configuration for stateful formatter extensions that allow using received headers to affect the output of encoding headers.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Http1ProtocolOptions.HeaderKeyFormat.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Http1ProtocolOptions.HeaderKeyFormat.BuildermergeFrom(com.google.protobuf.Message other)Http1ProtocolOptions.HeaderKeyFormat.BuildermergeFrom(Http1ProtocolOptions.HeaderKeyFormat other)Http1ProtocolOptions.HeaderKeyFormat.BuildermergeProperCaseWords(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.Http1ProtocolOptions.HeaderKeyFormat.BuildermergeStatefulFormatter(TypedExtensionConfig value)Configuration for stateful formatter extensions that allow using received headers to affect the output of encoding headers.Http1ProtocolOptions.HeaderKeyFormat.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Http1ProtocolOptions.HeaderKeyFormat.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Http1ProtocolOptions.HeaderKeyFormat.BuildersetProperCaseWords(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.Http1ProtocolOptions.HeaderKeyFormat.BuildersetProperCaseWords(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.Http1ProtocolOptions.HeaderKeyFormat.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Http1ProtocolOptions.HeaderKeyFormat.BuildersetStatefulFormatter(TypedExtensionConfig value)Configuration for stateful formatter extensions that allow using received headers to affect the output of encoding headers.Http1ProtocolOptions.HeaderKeyFormat.BuildersetStatefulFormatter(TypedExtensionConfig.Builder builderForValue)Configuration for stateful formatter extensions that allow using received headers to affect the output of encoding headers.Http1ProtocolOptions.HeaderKeyFormat.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<Http1ProtocolOptions.HeaderKeyFormat.Builder>
-
clear
public 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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Http1ProtocolOptions.HeaderKeyFormat.Builder>
-
getDefaultInstanceForType
public Http1ProtocolOptions.HeaderKeyFormat getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Http1ProtocolOptions.HeaderKeyFormat build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Http1ProtocolOptions.HeaderKeyFormat buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Http1ProtocolOptions.HeaderKeyFormat.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<Http1ProtocolOptions.HeaderKeyFormat.Builder>
-
setField
public Http1ProtocolOptions.HeaderKeyFormat.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<Http1ProtocolOptions.HeaderKeyFormat.Builder>
-
clearField
public Http1ProtocolOptions.HeaderKeyFormat.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Http1ProtocolOptions.HeaderKeyFormat.Builder>
-
clearOneof
public Http1ProtocolOptions.HeaderKeyFormat.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Http1ProtocolOptions.HeaderKeyFormat.Builder>
-
setRepeatedField
public Http1ProtocolOptions.HeaderKeyFormat.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<Http1ProtocolOptions.HeaderKeyFormat.Builder>
-
addRepeatedField
public Http1ProtocolOptions.HeaderKeyFormat.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<Http1ProtocolOptions.HeaderKeyFormat.Builder>
-
mergeFrom
public Http1ProtocolOptions.HeaderKeyFormat.Builder mergeFrom(com.google.protobuf.Message other)
- 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.GeneratedMessageV3.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
public Http1ProtocolOptions.HeaderKeyFormat.HeaderFormatCase getHeaderFormatCase()
- Specified by:
getHeaderFormatCasein interfaceHttp1ProtocolOptions.HeaderKeyFormatOrBuilder
-
clearHeaderFormat
public Http1ProtocolOptions.HeaderKeyFormat.Builder 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
public Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords 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
public Http1ProtocolOptions.HeaderKeyFormat.Builder 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
public Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords.Builder 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
public Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWordsOrBuilder 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
-
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
public TypedExtensionConfig 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
public Http1ProtocolOptions.HeaderKeyFormat.Builder 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
public TypedExtensionConfig.Builder 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
public TypedExtensionConfigOrBuilder 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
-
setUnknownFields
public final Http1ProtocolOptions.HeaderKeyFormat.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Http1ProtocolOptions.HeaderKeyFormat.Builder>
-
mergeUnknownFields
public final Http1ProtocolOptions.HeaderKeyFormat.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Http1ProtocolOptions.HeaderKeyFormat.Builder>
-
-