Class FilterConfig.BufferOptions.Builder

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      FilterConfig.BufferOptions.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)  
      FilterConfig.BufferOptions build()  
      FilterConfig.BufferOptions buildPartial()  
      FilterConfig.BufferOptions.Builder clear()  
      FilterConfig.BufferOptions.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)  
      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.
      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.
      FilterConfig.BufferOptions.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)  
      FilterConfig.BufferOptions.Builder clone()  
      FilterConfig.BufferOptions getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      com.google.protobuf.Descriptors.Descriptor getDescriptorForType()  
      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.
      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.
      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.
      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.
      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.
      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.
      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.
      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.
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      FilterConfig.BufferOptions.Builder mergeFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      FilterConfig.BufferOptions.Builder mergeFrom​(com.google.protobuf.Message other)  
      FilterConfig.BufferOptions.Builder mergeFrom​(FilterConfig.BufferOptions other)  
      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.
      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.
      FilterConfig.BufferOptions.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)  
      FilterConfig.BufferOptions.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)  
      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.
      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.
      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.
      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.
      FilterConfig.BufferOptions.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)  
      FilterConfig.BufferOptions.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)  
      • Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder

        getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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 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 Detail

      • 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>
      • 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

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