Class FilterStateMatcher.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<FilterStateMatcher.Builder>
com.google.protobuf.GeneratedMessage.Builder<FilterStateMatcher.Builder>
io.envoyproxy.envoy.type.matcher.v3.FilterStateMatcher.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, FilterStateMatcherOrBuilder, Cloneable
Enclosing class:
FilterStateMatcher

public static final class FilterStateMatcher.Builder extends com.google.protobuf.GeneratedMessage.Builder<FilterStateMatcher.Builder> implements FilterStateMatcherOrBuilder
 FilterStateMatcher provides a general interface for matching the filter state objects.
 
Protobuf type envoy.type.matcher.v3.FilterStateMatcher
  • Field Details

  • 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<FilterStateMatcher.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.GeneratedMessage.Builder<FilterStateMatcher.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.GeneratedMessage.Builder<FilterStateMatcher.Builder>
    • getDefaultInstanceForType

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

      public FilterStateMatcher build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public FilterStateMatcher buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • buildPartial0

      private void buildPartial0(FilterStateMatcher result)
    • buildPartialOneofs

      private void buildPartialOneofs(FilterStateMatcher result)
    • mergeFrom

      public FilterStateMatcher.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<FilterStateMatcher.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<FilterStateMatcher.Builder>
    • mergeFrom

      public FilterStateMatcher.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<FilterStateMatcher.Builder>
      Throws:
      IOException
    • getMatcherCase

      public FilterStateMatcher.MatcherCase getMatcherCase()
      Specified by:
      getMatcherCase in interface FilterStateMatcherOrBuilder
    • clearMatcher

      public FilterStateMatcher.Builder clearMatcher()
    • getKey

      public String getKey()
       The filter state key to retrieve the object.
       
      string key = 1 [(.validate.rules) = { ... }
      Specified by:
      getKey in interface FilterStateMatcherOrBuilder
      Returns:
      The key.
    • getKeyBytes

      public com.google.protobuf.ByteString getKeyBytes()
       The filter state key to retrieve the object.
       
      string key = 1 [(.validate.rules) = { ... }
      Specified by:
      getKeyBytes in interface FilterStateMatcherOrBuilder
      Returns:
      The bytes for key.
    • setKey

      public FilterStateMatcher.Builder setKey(String value)
       The filter state key to retrieve the object.
       
      string key = 1 [(.validate.rules) = { ... }
      Parameters:
      value - The key to set.
      Returns:
      This builder for chaining.
    • clearKey

      public FilterStateMatcher.Builder clearKey()
       The filter state key to retrieve the object.
       
      string key = 1 [(.validate.rules) = { ... }
      Returns:
      This builder for chaining.
    • setKeyBytes

      public FilterStateMatcher.Builder setKeyBytes(com.google.protobuf.ByteString value)
       The filter state key to retrieve the object.
       
      string key = 1 [(.validate.rules) = { ... }
      Parameters:
      value - The bytes for key to set.
      Returns:
      This builder for chaining.
    • hasStringMatch

      public boolean hasStringMatch()
       Matches the filter state object as a string value.
       
      .envoy.type.matcher.v3.StringMatcher string_match = 2;
      Specified by:
      hasStringMatch in interface FilterStateMatcherOrBuilder
      Returns:
      Whether the stringMatch field is set.
    • getStringMatch

      public StringMatcher getStringMatch()
       Matches the filter state object as a string value.
       
      .envoy.type.matcher.v3.StringMatcher string_match = 2;
      Specified by:
      getStringMatch in interface FilterStateMatcherOrBuilder
      Returns:
      The stringMatch.
    • setStringMatch

      public FilterStateMatcher.Builder setStringMatch(StringMatcher value)
       Matches the filter state object as a string value.
       
      .envoy.type.matcher.v3.StringMatcher string_match = 2;
    • setStringMatch

      public FilterStateMatcher.Builder setStringMatch(StringMatcher.Builder builderForValue)
       Matches the filter state object as a string value.
       
      .envoy.type.matcher.v3.StringMatcher string_match = 2;
    • mergeStringMatch

      public FilterStateMatcher.Builder mergeStringMatch(StringMatcher value)
       Matches the filter state object as a string value.
       
      .envoy.type.matcher.v3.StringMatcher string_match = 2;
    • clearStringMatch

      public FilterStateMatcher.Builder clearStringMatch()
       Matches the filter state object as a string value.
       
      .envoy.type.matcher.v3.StringMatcher string_match = 2;
    • getStringMatchBuilder

      public StringMatcher.Builder getStringMatchBuilder()
       Matches the filter state object as a string value.
       
      .envoy.type.matcher.v3.StringMatcher string_match = 2;
    • getStringMatchOrBuilder

      public StringMatcherOrBuilder getStringMatchOrBuilder()
       Matches the filter state object as a string value.
       
      .envoy.type.matcher.v3.StringMatcher string_match = 2;
      Specified by:
      getStringMatchOrBuilder in interface FilterStateMatcherOrBuilder
    • internalGetStringMatchFieldBuilder

      private com.google.protobuf.SingleFieldBuilder<StringMatcher,StringMatcher.Builder,StringMatcherOrBuilder> internalGetStringMatchFieldBuilder()
       Matches the filter state object as a string value.
       
      .envoy.type.matcher.v3.StringMatcher string_match = 2;