java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Metadata.Builder>
io.envoyproxy.envoy.extensions.matching.input_matchers.metadata.v3.Metadata.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, MetadataOrBuilder, Cloneable
Enclosing class:
Metadata

public static final class Metadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Metadata.Builder> implements MetadataOrBuilder
 Metadata matcher for metadata from http matching input data.
 
Protobuf type envoy.extensions.matching.input_matchers.metadata.v3.Metadata
  • Method Summary

    Modifier and Type
    Method
    Description
    addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
     
     
     
     
    clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
     
    If true, the match result will be inverted.
    clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
     
    The Metadata is matched if the value retrieved by metadata matching input is matched to this value.
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    boolean
    If true, the match result will be inverted.
    The Metadata is matched if the value retrieved by metadata matching input is matched to this value.
    The Metadata is matched if the value retrieved by metadata matching input is matched to this value.
    The Metadata is matched if the value retrieved by metadata matching input is matched to this value.
    boolean
    The Metadata is matched if the value retrieved by metadata matching input is matched to this value.
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
     
    The Metadata is matched if the value retrieved by metadata matching input is matched to this value.
    setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
     
    setInvert(boolean value)
    If true, the match result will be inverted.
    setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
     
    setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
     
    The Metadata is matched if the value retrieved by metadata matching input is matched to this value.
    setValue(ValueMatcher.Builder builderForValue)
    The Metadata is matched if the value retrieved by metadata matching input is matched to this value.

    Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder

    getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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<Metadata.Builder>
    • clear

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

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

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

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

      public Metadata.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<Metadata.Builder>
    • setField

      public Metadata.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<Metadata.Builder>
    • clearField

      public Metadata.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<Metadata.Builder>
    • clearOneof

      public Metadata.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<Metadata.Builder>
    • setRepeatedField

      public Metadata.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<Metadata.Builder>
    • addRepeatedField

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

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

      public Metadata.Builder mergeFrom(Metadata other)
    • isInitialized

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

      public Metadata.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<Metadata.Builder>
      Throws:
      IOException
    • hasValue

      public boolean hasValue()
       The Metadata is matched if the value retrieved by metadata matching input is matched to this value.
       
      .envoy.type.matcher.v3.ValueMatcher value = 1 [(.validate.rules) = { ... }
      Specified by:
      hasValue in interface MetadataOrBuilder
      Returns:
      Whether the value field is set.
    • getValue

      public ValueMatcher getValue()
       The Metadata is matched if the value retrieved by metadata matching input is matched to this value.
       
      .envoy.type.matcher.v3.ValueMatcher value = 1 [(.validate.rules) = { ... }
      Specified by:
      getValue in interface MetadataOrBuilder
      Returns:
      The value.
    • setValue

      public Metadata.Builder setValue(ValueMatcher value)
       The Metadata is matched if the value retrieved by metadata matching input is matched to this value.
       
      .envoy.type.matcher.v3.ValueMatcher value = 1 [(.validate.rules) = { ... }
    • setValue

      public Metadata.Builder setValue(ValueMatcher.Builder builderForValue)
       The Metadata is matched if the value retrieved by metadata matching input is matched to this value.
       
      .envoy.type.matcher.v3.ValueMatcher value = 1 [(.validate.rules) = { ... }
    • mergeValue

      public Metadata.Builder mergeValue(ValueMatcher value)
       The Metadata is matched if the value retrieved by metadata matching input is matched to this value.
       
      .envoy.type.matcher.v3.ValueMatcher value = 1 [(.validate.rules) = { ... }
    • clearValue

      public Metadata.Builder clearValue()
       The Metadata is matched if the value retrieved by metadata matching input is matched to this value.
       
      .envoy.type.matcher.v3.ValueMatcher value = 1 [(.validate.rules) = { ... }
    • getValueBuilder

      public ValueMatcher.Builder getValueBuilder()
       The Metadata is matched if the value retrieved by metadata matching input is matched to this value.
       
      .envoy.type.matcher.v3.ValueMatcher value = 1 [(.validate.rules) = { ... }
    • getValueOrBuilder

      public ValueMatcherOrBuilder getValueOrBuilder()
       The Metadata is matched if the value retrieved by metadata matching input is matched to this value.
       
      .envoy.type.matcher.v3.ValueMatcher value = 1 [(.validate.rules) = { ... }
      Specified by:
      getValueOrBuilder in interface MetadataOrBuilder
    • getInvert

      public boolean getInvert()
       If true, the match result will be inverted.
       
      bool invert = 4;
      Specified by:
      getInvert in interface MetadataOrBuilder
      Returns:
      The invert.
    • setInvert

      public Metadata.Builder setInvert(boolean value)
       If true, the match result will be inverted.
       
      bool invert = 4;
      Parameters:
      value - The invert to set.
      Returns:
      This builder for chaining.
    • clearInvert

      public Metadata.Builder clearInvert()
       If true, the match result will be inverted.
       
      bool invert = 4;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final Metadata.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<Metadata.Builder>
    • mergeUnknownFields

      public final Metadata.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<Metadata.Builder>