Class Filter.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Filter.Builder>
com.google.protobuf.GeneratedMessage.Builder<Filter.Builder>
io.envoyproxy.envoy.config.cluster.v3.Filter.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, FilterOrBuilder, Cloneable
Enclosing class:
Filter

public static final class Filter.Builder extends com.google.protobuf.GeneratedMessage.Builder<Filter.Builder> implements FilterOrBuilder
Protobuf type envoy.config.cluster.v3.Filter
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    Configuration source specifier for an extension configuration discovery service.
    The name of the filter configuration.
    Filter specific configuration which depends on the filter being instantiated.
    Configuration source specifier for an extension configuration discovery service.
    Configuration source specifier for an extension configuration discovery service.
    Configuration source specifier for an extension configuration discovery service.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    The name of the filter configuration.
    com.google.protobuf.ByteString
    The name of the filter configuration.
    com.google.protobuf.Any
    Filter specific configuration which depends on the filter being instantiated.
    com.google.protobuf.Any.Builder
    Filter specific configuration which depends on the filter being instantiated.
    com.google.protobuf.AnyOrBuilder
    Filter specific configuration which depends on the filter being instantiated.
    boolean
    Configuration source specifier for an extension configuration discovery service.
    boolean
    Filter specific configuration which depends on the filter being instantiated.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    Configuration source specifier for an extension configuration discovery service.
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    mergeTypedConfig(com.google.protobuf.Any value)
    Filter specific configuration which depends on the filter being instantiated.
    Configuration source specifier for an extension configuration discovery service.
    Configuration source specifier for an extension configuration discovery service.
    setName(String value)
    The name of the filter configuration.
    setNameBytes(com.google.protobuf.ByteString value)
    The name of the filter configuration.
    setTypedConfig(com.google.protobuf.Any value)
    Filter specific configuration which depends on the filter being instantiated.
    setTypedConfig(com.google.protobuf.Any.Builder builderForValue)
    Filter specific configuration which depends on the filter being instantiated.

    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 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Filter.Builder>
    • clear

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

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

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

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

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

      public Filter.Builder mergeFrom(Filter other)
    • isInitialized

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

      public Filter.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<Filter.Builder>
      Throws:
      IOException
    • getName

      public String getName()
      The name of the filter configuration.
      
      string name = 1 [(.validate.rules) = { ... }
      Specified by:
      getName in interface FilterOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
      The name of the filter configuration.
      
      string name = 1 [(.validate.rules) = { ... }
      Specified by:
      getNameBytes in interface FilterOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Filter.Builder setName(String value)
      The name of the filter configuration.
      
      string name = 1 [(.validate.rules) = { ... }
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Filter.Builder clearName()
      The name of the filter configuration.
      
      string name = 1 [(.validate.rules) = { ... }
      Returns:
      This builder for chaining.
    • setNameBytes

      public Filter.Builder setNameBytes(com.google.protobuf.ByteString value)
      The name of the filter configuration.
      
      string name = 1 [(.validate.rules) = { ... }
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasTypedConfig

      public boolean hasTypedConfig()
      Filter specific configuration which depends on the filter being
      instantiated. See the supported filters for further documentation.
      Note that Envoy's :ref:`downstream network
      filters <config_network_filters>` are not valid upstream network filters.
      Only one of typed_config or config_discovery can be used.
      
      .google.protobuf.Any typed_config = 2;
      Specified by:
      hasTypedConfig in interface FilterOrBuilder
      Returns:
      Whether the typedConfig field is set.
    • getTypedConfig

      public com.google.protobuf.Any getTypedConfig()
      Filter specific configuration which depends on the filter being
      instantiated. See the supported filters for further documentation.
      Note that Envoy's :ref:`downstream network
      filters <config_network_filters>` are not valid upstream network filters.
      Only one of typed_config or config_discovery can be used.
      
      .google.protobuf.Any typed_config = 2;
      Specified by:
      getTypedConfig in interface FilterOrBuilder
      Returns:
      The typedConfig.
    • setTypedConfig

      public Filter.Builder setTypedConfig(com.google.protobuf.Any value)
      Filter specific configuration which depends on the filter being
      instantiated. See the supported filters for further documentation.
      Note that Envoy's :ref:`downstream network
      filters <config_network_filters>` are not valid upstream network filters.
      Only one of typed_config or config_discovery can be used.
      
      .google.protobuf.Any typed_config = 2;
    • setTypedConfig

      public Filter.Builder setTypedConfig(com.google.protobuf.Any.Builder builderForValue)
      Filter specific configuration which depends on the filter being
      instantiated. See the supported filters for further documentation.
      Note that Envoy's :ref:`downstream network
      filters <config_network_filters>` are not valid upstream network filters.
      Only one of typed_config or config_discovery can be used.
      
      .google.protobuf.Any typed_config = 2;
    • mergeTypedConfig

      public Filter.Builder mergeTypedConfig(com.google.protobuf.Any value)
      Filter specific configuration which depends on the filter being
      instantiated. See the supported filters for further documentation.
      Note that Envoy's :ref:`downstream network
      filters <config_network_filters>` are not valid upstream network filters.
      Only one of typed_config or config_discovery can be used.
      
      .google.protobuf.Any typed_config = 2;
    • clearTypedConfig

      public Filter.Builder clearTypedConfig()
      Filter specific configuration which depends on the filter being
      instantiated. See the supported filters for further documentation.
      Note that Envoy's :ref:`downstream network
      filters <config_network_filters>` are not valid upstream network filters.
      Only one of typed_config or config_discovery can be used.
      
      .google.protobuf.Any typed_config = 2;
    • getTypedConfigBuilder

      public com.google.protobuf.Any.Builder getTypedConfigBuilder()
      Filter specific configuration which depends on the filter being
      instantiated. See the supported filters for further documentation.
      Note that Envoy's :ref:`downstream network
      filters <config_network_filters>` are not valid upstream network filters.
      Only one of typed_config or config_discovery can be used.
      
      .google.protobuf.Any typed_config = 2;
    • getTypedConfigOrBuilder

      public com.google.protobuf.AnyOrBuilder getTypedConfigOrBuilder()
      Filter specific configuration which depends on the filter being
      instantiated. See the supported filters for further documentation.
      Note that Envoy's :ref:`downstream network
      filters <config_network_filters>` are not valid upstream network filters.
      Only one of typed_config or config_discovery can be used.
      
      .google.protobuf.Any typed_config = 2;
      Specified by:
      getTypedConfigOrBuilder in interface FilterOrBuilder
    • hasConfigDiscovery

      public boolean hasConfigDiscovery()
      Configuration source specifier for an extension configuration discovery
      service. In case of a failure and without the default configuration, the
      listener closes the connections.
      Only one of typed_config or config_discovery can be used.
      
      .envoy.config.core.v3.ExtensionConfigSource config_discovery = 3;
      Specified by:
      hasConfigDiscovery in interface FilterOrBuilder
      Returns:
      Whether the configDiscovery field is set.
    • getConfigDiscovery

      public ExtensionConfigSource getConfigDiscovery()
      Configuration source specifier for an extension configuration discovery
      service. In case of a failure and without the default configuration, the
      listener closes the connections.
      Only one of typed_config or config_discovery can be used.
      
      .envoy.config.core.v3.ExtensionConfigSource config_discovery = 3;
      Specified by:
      getConfigDiscovery in interface FilterOrBuilder
      Returns:
      The configDiscovery.
    • setConfigDiscovery

      public Filter.Builder setConfigDiscovery(ExtensionConfigSource value)
      Configuration source specifier for an extension configuration discovery
      service. In case of a failure and without the default configuration, the
      listener closes the connections.
      Only one of typed_config or config_discovery can be used.
      
      .envoy.config.core.v3.ExtensionConfigSource config_discovery = 3;
    • setConfigDiscovery

      public Filter.Builder setConfigDiscovery(ExtensionConfigSource.Builder builderForValue)
      Configuration source specifier for an extension configuration discovery
      service. In case of a failure and without the default configuration, the
      listener closes the connections.
      Only one of typed_config or config_discovery can be used.
      
      .envoy.config.core.v3.ExtensionConfigSource config_discovery = 3;
    • mergeConfigDiscovery

      public Filter.Builder mergeConfigDiscovery(ExtensionConfigSource value)
      Configuration source specifier for an extension configuration discovery
      service. In case of a failure and without the default configuration, the
      listener closes the connections.
      Only one of typed_config or config_discovery can be used.
      
      .envoy.config.core.v3.ExtensionConfigSource config_discovery = 3;
    • clearConfigDiscovery

      public Filter.Builder clearConfigDiscovery()
      Configuration source specifier for an extension configuration discovery
      service. In case of a failure and without the default configuration, the
      listener closes the connections.
      Only one of typed_config or config_discovery can be used.
      
      .envoy.config.core.v3.ExtensionConfigSource config_discovery = 3;
    • getConfigDiscoveryBuilder

      public ExtensionConfigSource.Builder getConfigDiscoveryBuilder()
      Configuration source specifier for an extension configuration discovery
      service. In case of a failure and without the default configuration, the
      listener closes the connections.
      Only one of typed_config or config_discovery can be used.
      
      .envoy.config.core.v3.ExtensionConfigSource config_discovery = 3;
    • getConfigDiscoveryOrBuilder

      public ExtensionConfigSourceOrBuilder getConfigDiscoveryOrBuilder()
      Configuration source specifier for an extension configuration discovery
      service. In case of a failure and without the default configuration, the
      listener closes the connections.
      Only one of typed_config or config_discovery can be used.
      
      .envoy.config.core.v3.ExtensionConfigSource config_discovery = 3;
      Specified by:
      getConfigDiscoveryOrBuilder in interface FilterOrBuilder