Class UdpProxyConfig.UdpTunnelingConfig.BufferOptions.Builder

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

public static final class UdpProxyConfig.UdpTunnelingConfig.BufferOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UdpProxyConfig.UdpTunnelingConfig.BufferOptions.Builder> implements UdpProxyConfig.UdpTunnelingConfig.BufferOptionsOrBuilder
 Configuration for UDP datagrams buffering.
 
Protobuf type envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.UdpTunnelingConfig.BufferOptions
  • 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<UdpProxyConfig.UdpTunnelingConfig.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<UdpProxyConfig.UdpTunnelingConfig.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<UdpProxyConfig.UdpTunnelingConfig.BufferOptions.Builder>
    • getDefaultInstanceForType

      public UdpProxyConfig.UdpTunnelingConfig.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

      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<UdpProxyConfig.UdpTunnelingConfig.BufferOptions.Builder>
    • setField

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

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

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

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

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

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

      public UdpProxyConfig.UdpTunnelingConfig.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<UdpProxyConfig.UdpTunnelingConfig.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 UdpProxyConfig.UdpTunnelingConfig.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 UdpProxyConfig.UdpTunnelingConfig.BufferOptionsOrBuilder
      Returns:
      The maxBufferedDatagrams.
    • setMaxBufferedDatagrams

      public UdpProxyConfig.UdpTunnelingConfig.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 UdpProxyConfig.UdpTunnelingConfig.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 UdpProxyConfig.UdpTunnelingConfig.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 UdpProxyConfig.UdpTunnelingConfig.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 UdpProxyConfig.UdpTunnelingConfig.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 UdpProxyConfig.UdpTunnelingConfig.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 UdpProxyConfig.UdpTunnelingConfig.BufferOptionsOrBuilder
      Returns:
      The maxBufferedBytes.
    • setMaxBufferedBytes

      public UdpProxyConfig.UdpTunnelingConfig.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 UdpProxyConfig.UdpTunnelingConfig.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 UdpProxyConfig.UdpTunnelingConfig.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

       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 UdpProxyConfig.UdpTunnelingConfig.BufferOptionsOrBuilder
    • setUnknownFields

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

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