Class Http1ProtocolOptions.HeaderKeyFormat.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Http1ProtocolOptions.HeaderKeyFormat.Builder>
io.envoyproxy.envoy.api.v2.core.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
Protobuf type envoy.api.v2.core.Http1ProtocolOptions.HeaderKeyFormat
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Http1ProtocolOptions.HeaderKeyFormat.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<Http1ProtocolOptions.HeaderKeyFormat.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Http1ProtocolOptions.HeaderKeyFormat.Builder>
    • getDefaultInstanceForType

      public Http1ProtocolOptions.HeaderKeyFormat getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Http1ProtocolOptions.HeaderKeyFormat buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<Http1ProtocolOptions.HeaderKeyFormat.Builder>
    • setField

      public Http1ProtocolOptions.HeaderKeyFormat.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Http1ProtocolOptions.HeaderKeyFormat.Builder>
    • clearField

      public Http1ProtocolOptions.HeaderKeyFormat.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Http1ProtocolOptions.HeaderKeyFormat.Builder>
    • clearOneof

      public Http1ProtocolOptions.HeaderKeyFormat.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.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:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Http1ProtocolOptions.HeaderKeyFormat.Builder>
    • addRepeatedField

      public Http1ProtocolOptions.HeaderKeyFormat.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Http1ProtocolOptions.HeaderKeyFormat.Builder>
    • mergeFrom

      public Http1ProtocolOptions.HeaderKeyFormat.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Http1ProtocolOptions.HeaderKeyFormat.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Http1ProtocolOptions.HeaderKeyFormat.Builder>
      Throws:
      IOException
    • getHeaderFormatCase

      Specified by:
      getHeaderFormatCase in interface Http1ProtocolOptions.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.api.v2.core.Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords proper_case_words = 1;
      Specified by:
      hasProperCaseWords in interface Http1ProtocolOptions.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.api.v2.core.Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords proper_case_words = 1;
      Specified by:
      getProperCaseWords in interface Http1ProtocolOptions.HeaderKeyFormatOrBuilder
      Returns:
      The properCaseWords.
    • setProperCaseWords

       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.api.v2.core.Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords proper_case_words = 1;
    • setProperCaseWords

       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.api.v2.core.Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords proper_case_words = 1;
    • mergeProperCaseWords

       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.api.v2.core.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.api.v2.core.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.api.v2.core.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.api.v2.core.Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords proper_case_words = 1;
      Specified by:
      getProperCaseWordsOrBuilder in interface Http1ProtocolOptions.HeaderKeyFormatOrBuilder
    • setUnknownFields

      public final Http1ProtocolOptions.HeaderKeyFormat.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Http1ProtocolOptions.HeaderKeyFormat.Builder>
    • mergeUnknownFields

      public final Http1ProtocolOptions.HeaderKeyFormat.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Http1ProtocolOptions.HeaderKeyFormat.Builder>