java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<FilterConfig.BufferOptions.Builder>
io.envoyproxy.envoy.extensions.filters.udp.udp_proxy.session.dynamic_forward_proxy.v3.FilterConfig.BufferOptions.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, FilterConfig.BufferOptionsOrBuilder, Cloneable
Enclosing class:
FilterConfig.BufferOptions

public static final class FilterConfig.BufferOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FilterConfig.BufferOptions.Builder> implements FilterConfig.BufferOptionsOrBuilder
 Configuration for UDP datagrams buffering.
 
Protobuf type envoy.extensions.filters.udp.udp_proxy.session.dynamic_forward_proxy.v3.FilterConfig.BufferOptions
  • Method Summary

    Modifier and Type
    Method
    Description
    addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
     
     
     
     
    clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
     
    If set, the filter will only buffer datagrams up to the requested total buffered bytes limit, and will drop new UDP datagrams if the buffer contains the max_buffered_datagrams value at the time of a new datagram arrival.
    If set, the filter will only buffer datagrams up to the requested limit, and will drop new UDP datagrams if the buffer contains the max_buffered_datagrams value at the time of a new datagram arrival.
    clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
     
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.UInt64Value
    If set, the filter will only buffer datagrams up to the requested total buffered bytes limit, and will drop new UDP datagrams if the buffer contains the max_buffered_datagrams value at the time of a new datagram arrival.
    com.google.protobuf.UInt64Value.Builder
    If set, the filter will only buffer datagrams up to the requested total buffered bytes limit, and will drop new UDP datagrams if the buffer contains the max_buffered_datagrams value at the time of a new datagram arrival.
    com.google.protobuf.UInt64ValueOrBuilder
    If set, the filter will only buffer datagrams up to the requested total buffered bytes limit, and will drop new UDP datagrams if the buffer contains the max_buffered_datagrams value at the time of a new datagram arrival.
    com.google.protobuf.UInt32Value
    If set, the filter will only buffer datagrams up to the requested limit, and will drop new UDP datagrams if the buffer contains the max_buffered_datagrams value at the time of a new datagram arrival.
    com.google.protobuf.UInt32Value.Builder
    If set, the filter will only buffer datagrams up to the requested limit, and will drop new UDP datagrams if the buffer contains the max_buffered_datagrams value at the time of a new datagram arrival.
    com.google.protobuf.UInt32ValueOrBuilder
    If set, the filter will only buffer datagrams up to the requested limit, and will drop new UDP datagrams if the buffer contains the max_buffered_datagrams value at the time of a new datagram arrival.
    boolean
    If set, the filter will only buffer datagrams up to the requested total buffered bytes limit, and will drop new UDP datagrams if the buffer contains the max_buffered_datagrams value at the time of a new datagram arrival.
    boolean
    If set, the filter will only buffer datagrams up to the requested limit, and will drop new UDP datagrams if the buffer contains the max_buffered_datagrams value at the time of a new datagram arrival.
    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)
     
     
    mergeMaxBufferedBytes(com.google.protobuf.UInt64Value value)
    If set, the filter will only buffer datagrams up to the requested total buffered bytes limit, and will drop new UDP datagrams if the buffer contains the max_buffered_datagrams value at the time of a new datagram arrival.
    mergeMaxBufferedDatagrams(com.google.protobuf.UInt32Value value)
    If set, the filter will only buffer datagrams up to the requested limit, and will drop new UDP datagrams if the buffer contains the max_buffered_datagrams value at the time of a new datagram arrival.
    mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
     
    setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
     
    setMaxBufferedBytes(com.google.protobuf.UInt64Value value)
    If set, the filter will only buffer datagrams up to the requested total buffered bytes limit, and will drop new UDP datagrams if the buffer contains the max_buffered_datagrams value at the time of a new datagram arrival.
    setMaxBufferedBytes(com.google.protobuf.UInt64Value.Builder builderForValue)
    If set, the filter will only buffer datagrams up to the requested total buffered bytes limit, and will drop new UDP datagrams if the buffer contains the max_buffered_datagrams value at the time of a new datagram arrival.
    setMaxBufferedDatagrams(com.google.protobuf.UInt32Value value)
    If set, the filter will only buffer datagrams up to the requested limit, and will drop new UDP datagrams if the buffer contains the max_buffered_datagrams value at the time of a new datagram arrival.
    setMaxBufferedDatagrams(com.google.protobuf.UInt32Value.Builder builderForValue)
    If set, the filter will only buffer datagrams up to the requested limit, and will drop new UDP datagrams if the buffer contains the max_buffered_datagrams value at the time of a new datagram arrival.
    setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
     
    setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
     

    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<FilterConfig.BufferOptions.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<FilterConfig.BufferOptions.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<FilterConfig.BufferOptions.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

      public FilterConfig.BufferOptions.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<FilterConfig.BufferOptions.Builder>
      Throws:
      IOException
    • hasMaxBufferedDatagrams

      public boolean hasMaxBufferedDatagrams()
       If set, the filter will only buffer datagrams up to the requested limit, and will drop
       new UDP datagrams if the buffer contains the max_buffered_datagrams value at the time
       of a new datagram arrival. If not set, the default value is 1024 datagrams.
       
      .google.protobuf.UInt32Value max_buffered_datagrams = 1;
      Specified by:
      hasMaxBufferedDatagrams in interface FilterConfig.BufferOptionsOrBuilder
      Returns:
      Whether the maxBufferedDatagrams field is set.
    • getMaxBufferedDatagrams

      public com.google.protobuf.UInt32Value getMaxBufferedDatagrams()
       If set, the filter will only buffer datagrams up to the requested limit, and will drop
       new UDP datagrams if the buffer contains the max_buffered_datagrams value at the time
       of a new datagram arrival. If not set, the default value is 1024 datagrams.
       
      .google.protobuf.UInt32Value max_buffered_datagrams = 1;
      Specified by:
      getMaxBufferedDatagrams in interface FilterConfig.BufferOptionsOrBuilder
      Returns:
      The maxBufferedDatagrams.
    • setMaxBufferedDatagrams

      public FilterConfig.BufferOptions.Builder setMaxBufferedDatagrams(com.google.protobuf.UInt32Value value)
       If set, the filter will only buffer datagrams up to the requested limit, and will drop
       new UDP datagrams if the buffer contains the max_buffered_datagrams value at the time
       of a new datagram arrival. If not set, the default value is 1024 datagrams.
       
      .google.protobuf.UInt32Value max_buffered_datagrams = 1;
    • setMaxBufferedDatagrams

      public FilterConfig.BufferOptions.Builder setMaxBufferedDatagrams(com.google.protobuf.UInt32Value.Builder builderForValue)
       If set, the filter will only buffer datagrams up to the requested limit, and will drop
       new UDP datagrams if the buffer contains the max_buffered_datagrams value at the time
       of a new datagram arrival. If not set, the default value is 1024 datagrams.
       
      .google.protobuf.UInt32Value max_buffered_datagrams = 1;
    • mergeMaxBufferedDatagrams

      public FilterConfig.BufferOptions.Builder mergeMaxBufferedDatagrams(com.google.protobuf.UInt32Value value)
       If set, the filter will only buffer datagrams up to the requested limit, and will drop
       new UDP datagrams if the buffer contains the max_buffered_datagrams value at the time
       of a new datagram arrival. If not set, the default value is 1024 datagrams.
       
      .google.protobuf.UInt32Value max_buffered_datagrams = 1;
    • clearMaxBufferedDatagrams

      public FilterConfig.BufferOptions.Builder clearMaxBufferedDatagrams()
       If set, the filter will only buffer datagrams up to the requested limit, and will drop
       new UDP datagrams if the buffer contains the max_buffered_datagrams value at the time
       of a new datagram arrival. If not set, the default value is 1024 datagrams.
       
      .google.protobuf.UInt32Value max_buffered_datagrams = 1;
    • getMaxBufferedDatagramsBuilder

      public com.google.protobuf.UInt32Value.Builder getMaxBufferedDatagramsBuilder()
       If set, the filter will only buffer datagrams up to the requested limit, and will drop
       new UDP datagrams if the buffer contains the max_buffered_datagrams value at the time
       of a new datagram arrival. If not set, the default value is 1024 datagrams.
       
      .google.protobuf.UInt32Value max_buffered_datagrams = 1;
    • getMaxBufferedDatagramsOrBuilder

      public com.google.protobuf.UInt32ValueOrBuilder getMaxBufferedDatagramsOrBuilder()
       If set, the filter will only buffer datagrams up to the requested limit, and will drop
       new UDP datagrams if the buffer contains the max_buffered_datagrams value at the time
       of a new datagram arrival. If not set, the default value is 1024 datagrams.
       
      .google.protobuf.UInt32Value max_buffered_datagrams = 1;
      Specified by:
      getMaxBufferedDatagramsOrBuilder in interface FilterConfig.BufferOptionsOrBuilder
    • hasMaxBufferedBytes

      public boolean hasMaxBufferedBytes()
       If set, the filter will only buffer datagrams up to the requested total buffered bytes limit,
       and will drop new UDP datagrams if the buffer contains the max_buffered_datagrams value
       at the time of a new datagram arrival. If not set, the default value is 16,384 (16KB).
       
      .google.protobuf.UInt64Value max_buffered_bytes = 2;
      Specified by:
      hasMaxBufferedBytes in interface FilterConfig.BufferOptionsOrBuilder
      Returns:
      Whether the maxBufferedBytes field is set.
    • getMaxBufferedBytes

      public com.google.protobuf.UInt64Value getMaxBufferedBytes()
       If set, the filter will only buffer datagrams up to the requested total buffered bytes limit,
       and will drop new UDP datagrams if the buffer contains the max_buffered_datagrams value
       at the time of a new datagram arrival. If not set, the default value is 16,384 (16KB).
       
      .google.protobuf.UInt64Value max_buffered_bytes = 2;
      Specified by:
      getMaxBufferedBytes in interface FilterConfig.BufferOptionsOrBuilder
      Returns:
      The maxBufferedBytes.
    • setMaxBufferedBytes

      public FilterConfig.BufferOptions.Builder setMaxBufferedBytes(com.google.protobuf.UInt64Value value)
       If set, the filter will only buffer datagrams up to the requested total buffered bytes limit,
       and will drop new UDP datagrams if the buffer contains the max_buffered_datagrams value
       at the time of a new datagram arrival. If not set, the default value is 16,384 (16KB).
       
      .google.protobuf.UInt64Value max_buffered_bytes = 2;
    • setMaxBufferedBytes

      public FilterConfig.BufferOptions.Builder setMaxBufferedBytes(com.google.protobuf.UInt64Value.Builder builderForValue)
       If set, the filter will only buffer datagrams up to the requested total buffered bytes limit,
       and will drop new UDP datagrams if the buffer contains the max_buffered_datagrams value
       at the time of a new datagram arrival. If not set, the default value is 16,384 (16KB).
       
      .google.protobuf.UInt64Value max_buffered_bytes = 2;
    • mergeMaxBufferedBytes

      public FilterConfig.BufferOptions.Builder mergeMaxBufferedBytes(com.google.protobuf.UInt64Value value)
       If set, the filter will only buffer datagrams up to the requested total buffered bytes limit,
       and will drop new UDP datagrams if the buffer contains the max_buffered_datagrams value
       at the time of a new datagram arrival. If not set, the default value is 16,384 (16KB).
       
      .google.protobuf.UInt64Value max_buffered_bytes = 2;
    • clearMaxBufferedBytes

      public FilterConfig.BufferOptions.Builder clearMaxBufferedBytes()
       If set, the filter will only buffer datagrams up to the requested total buffered bytes limit,
       and will drop new UDP datagrams if the buffer contains the max_buffered_datagrams value
       at the time of a new datagram arrival. If not set, the default value is 16,384 (16KB).
       
      .google.protobuf.UInt64Value max_buffered_bytes = 2;
    • getMaxBufferedBytesBuilder

      public com.google.protobuf.UInt64Value.Builder getMaxBufferedBytesBuilder()
       If set, the filter will only buffer datagrams up to the requested total buffered bytes limit,
       and will drop new UDP datagrams if the buffer contains the max_buffered_datagrams value
       at the time of a new datagram arrival. If not set, the default value is 16,384 (16KB).
       
      .google.protobuf.UInt64Value max_buffered_bytes = 2;
    • getMaxBufferedBytesOrBuilder

      public com.google.protobuf.UInt64ValueOrBuilder getMaxBufferedBytesOrBuilder()
       If set, the filter will only buffer datagrams up to the requested total buffered bytes limit,
       and will drop new UDP datagrams if the buffer contains the max_buffered_datagrams value
       at the time of a new datagram arrival. If not set, the default value is 16,384 (16KB).
       
      .google.protobuf.UInt64Value max_buffered_bytes = 2;
      Specified by:
      getMaxBufferedBytesOrBuilder in interface FilterConfig.BufferOptionsOrBuilder
    • setUnknownFields

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

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