Class ListMatcher.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ListMatcherOrBuilder, java.lang.Cloneable
    Enclosing class:
    ListMatcher

    public static final class ListMatcher.Builder
    extends com.google.protobuf.GeneratedMessage.Builder<ListMatcher.Builder>
    implements ListMatcherOrBuilder
     Specifies the way to match a list value.
     
    Protobuf type envoy.type.matcher.v3.ListMatcher
    • Field Detail

      • matchPatternCase_

        private int matchPatternCase_
      • matchPattern_

        private java.lang.Object matchPattern_
      • bitField0_

        private int bitField0_
    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.AbstractMessage.BuilderParent parent)
    • Method Detail

      • 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<ListMatcher.Builder>
      • clear

        public ListMatcher.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<ListMatcher.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<ListMatcher.Builder>
      • getDefaultInstanceForType

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

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

        public ListMatcher 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​(ListMatcher result)
      • buildPartialOneofs

        private void buildPartialOneofs​(ListMatcher result)
      • mergeFrom

        public ListMatcher.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<ListMatcher.Builder>
      • isInitialized

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

        public ListMatcher.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws java.io.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<ListMatcher.Builder>
        Throws:
        java.io.IOException
      • hasOneOf

        public boolean hasOneOf()
         If specified, at least one of the values in the list must match the value specified.
         
        .envoy.type.matcher.v3.ValueMatcher one_of = 1;
        Specified by:
        hasOneOf in interface ListMatcherOrBuilder
        Returns:
        Whether the oneOf field is set.
      • getOneOf

        public ValueMatcher getOneOf()
         If specified, at least one of the values in the list must match the value specified.
         
        .envoy.type.matcher.v3.ValueMatcher one_of = 1;
        Specified by:
        getOneOf in interface ListMatcherOrBuilder
        Returns:
        The oneOf.
      • setOneOf

        public ListMatcher.Builder setOneOf​(ValueMatcher value)
         If specified, at least one of the values in the list must match the value specified.
         
        .envoy.type.matcher.v3.ValueMatcher one_of = 1;
      • setOneOf

        public ListMatcher.Builder setOneOf​(ValueMatcher.Builder builderForValue)
         If specified, at least one of the values in the list must match the value specified.
         
        .envoy.type.matcher.v3.ValueMatcher one_of = 1;
      • mergeOneOf

        public ListMatcher.Builder mergeOneOf​(ValueMatcher value)
         If specified, at least one of the values in the list must match the value specified.
         
        .envoy.type.matcher.v3.ValueMatcher one_of = 1;
      • clearOneOf

        public ListMatcher.Builder clearOneOf()
         If specified, at least one of the values in the list must match the value specified.
         
        .envoy.type.matcher.v3.ValueMatcher one_of = 1;
      • getOneOfBuilder

        public ValueMatcher.Builder getOneOfBuilder()
         If specified, at least one of the values in the list must match the value specified.
         
        .envoy.type.matcher.v3.ValueMatcher one_of = 1;
      • getOneOfFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<ValueMatcher,​ValueMatcher.Builder,​ValueMatcherOrBuilder> getOneOfFieldBuilder()
         If specified, at least one of the values in the list must match the value specified.
         
        .envoy.type.matcher.v3.ValueMatcher one_of = 1;