Class Http1ProtocolOptions.HeaderKeyFormat.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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
,java.lang.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 typeenvoy.config.core.v3.Http1ProtocolOptions.HeaderKeyFormat
-
-
Field Summary
Fields Modifier and Type Field Description private int
bitField0_
private java.lang.Object
headerFormat_
private int
headerFormatCase_
private com.google.protobuf.SingleFieldBuilder<Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords,Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords.Builder,Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWordsOrBuilder>
properCaseWordsBuilder_
private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder,TypedExtensionConfigOrBuilder>
statefulFormatterBuilder_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Http1ProtocolOptions.HeaderKeyFormat
build()
Http1ProtocolOptions.HeaderKeyFormat
buildPartial()
private void
buildPartial0(Http1ProtocolOptions.HeaderKeyFormat result)
private void
buildPartialOneofs(Http1ProtocolOptions.HeaderKeyFormat result)
Http1ProtocolOptions.HeaderKeyFormat.Builder
clear()
Http1ProtocolOptions.HeaderKeyFormat.Builder
clearHeaderFormat()
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.Http1ProtocolOptions.HeaderKeyFormat.Builder
clearStatefulFormatter()
Configuration for stateful formatter extensions that allow using received headers to affect the output of encoding headers.Http1ProtocolOptions.HeaderKeyFormat
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Http1ProtocolOptions.HeaderKeyFormat.HeaderFormatCase
getHeaderFormatCase()
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.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.private com.google.protobuf.SingleFieldBuilder<Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords,Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords.Builder,Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWordsOrBuilder>
getProperCaseWordsFieldBuilder()
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.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.TypedExtensionConfig
getStatefulFormatter()
Configuration for stateful formatter extensions that allow using received headers to affect the output of encoding headers.TypedExtensionConfig.Builder
getStatefulFormatterBuilder()
Configuration for stateful formatter extensions that allow using received headers to affect the output of encoding headers.private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder,TypedExtensionConfigOrBuilder>
getStatefulFormatterFieldBuilder()
Configuration for stateful formatter extensions that allow using received headers to affect the output of encoding headers.TypedExtensionConfigOrBuilder
getStatefulFormatterOrBuilder()
Configuration for stateful formatter extensions that allow using received headers to affect the output of encoding headers.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.boolean
hasStatefulFormatter()
Configuration for stateful formatter extensions that allow using received headers to affect the output of encoding headers.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Http1ProtocolOptions.HeaderKeyFormat.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Http1ProtocolOptions.HeaderKeyFormat.Builder
mergeFrom(com.google.protobuf.Message other)
Http1ProtocolOptions.HeaderKeyFormat.Builder
mergeFrom(Http1ProtocolOptions.HeaderKeyFormat other)
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.Http1ProtocolOptions.HeaderKeyFormat.Builder
mergeStatefulFormatter(TypedExtensionConfig value)
Configuration for stateful formatter extensions that allow using received headers to affect the output of encoding headers.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.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.Http1ProtocolOptions.HeaderKeyFormat.Builder
setStatefulFormatter(TypedExtensionConfig value)
Configuration for stateful formatter extensions that allow using received headers to affect the output of encoding headers.Http1ProtocolOptions.HeaderKeyFormat.Builder
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, 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
-
-
-
-
Field Detail
-
headerFormatCase_
private int headerFormatCase_
-
headerFormat_
private java.lang.Object 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_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<Http1ProtocolOptions.HeaderKeyFormat.Builder>
-
clear
public Http1ProtocolOptions.HeaderKeyFormat.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<Http1ProtocolOptions.HeaderKeyFormat.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<Http1ProtocolOptions.HeaderKeyFormat.Builder>
-
getDefaultInstanceForType
public Http1ProtocolOptions.HeaderKeyFormat getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Http1ProtocolOptions.HeaderKeyFormat build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Http1ProtocolOptions.HeaderKeyFormat buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
private void buildPartial0(Http1ProtocolOptions.HeaderKeyFormat result)
-
buildPartialOneofs
private void buildPartialOneofs(Http1ProtocolOptions.HeaderKeyFormat result)
-
mergeFrom
public Http1ProtocolOptions.HeaderKeyFormat.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Http1ProtocolOptions.HeaderKeyFormat.Builder>
-
mergeFrom
public Http1ProtocolOptions.HeaderKeyFormat.Builder mergeFrom(Http1ProtocolOptions.HeaderKeyFormat other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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 java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Http1ProtocolOptions.HeaderKeyFormat.Builder>
- Throws:
java.io.IOException
-
getHeaderFormatCase
public Http1ProtocolOptions.HeaderKeyFormat.HeaderFormatCase getHeaderFormatCase()
- Specified by:
getHeaderFormatCase
in 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:
hasProperCaseWords
in 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:
getProperCaseWords
in 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:
getProperCaseWordsOrBuilder
in interfaceHttp1ProtocolOptions.HeaderKeyFormatOrBuilder
-
getProperCaseWordsFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords,Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords.Builder,Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWordsOrBuilder> getProperCaseWordsFieldBuilder()
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:
hasStatefulFormatter
in 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:
getStatefulFormatter
in 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:
getStatefulFormatterOrBuilder
in interfaceHttp1ProtocolOptions.HeaderKeyFormatOrBuilder
-
getStatefulFormatterFieldBuilder
private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder,TypedExtensionConfigOrBuilder> getStatefulFormatterFieldBuilder()
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;
-
-