java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.envoy.extensions.network.socket_interface.v3.IoUringOptions
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, IoUringOptionsOrBuilder, Serializable

public final class IoUringOptions extends com.google.protobuf.GeneratedMessageV3 implements IoUringOptionsOrBuilder
Protobuf type envoy.extensions.network.socket_interface.v3.IoUringOptions
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Protobuf type envoy.extensions.network.socket_interface.v3.IoUringOptions

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

    com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    boolean
    Enable io_uring submission queue polling (SQPOLL). io_uring SQPOLL mode polls all SQEs in the SQ in the kernel thread. io_uring SQPOLL mode may reduce latency and increase CPU usage as a cost.
    com.google.protobuf.UInt32Value
    The size for io_uring submission queues (SQ). io_uring is built with a fixed size in each thread during configuration, and each io_uring operation creates a submission queue entry (SQE).
    com.google.protobuf.UInt32ValueOrBuilder
    The size for io_uring submission queues (SQ). io_uring is built with a fixed size in each thread during configuration, and each io_uring operation creates a submission queue entry (SQE).
    com.google.protobuf.Parser<IoUringOptions>
     
    com.google.protobuf.UInt32Value
    The size of an io_uring socket's read buffer.
    com.google.protobuf.UInt32ValueOrBuilder
    The size of an io_uring socket's read buffer.
    int
     
    com.google.protobuf.UInt32Value
    The write timeout of an io_uring socket on closing in ms. io_uring writes and closes asynchronously.
    com.google.protobuf.UInt32ValueOrBuilder
    The write timeout of an io_uring socket on closing in ms. io_uring writes and closes asynchronously.
    int
     
    boolean
    The size for io_uring submission queues (SQ). io_uring is built with a fixed size in each thread during configuration, and each io_uring operation creates a submission queue entry (SQE).
    boolean
    The size of an io_uring socket's read buffer.
    boolean
    The write timeout of an io_uring socket on closing in ms. io_uring writes and closes asynchronously.
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<IoUringOptions>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessageV3

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • IO_URING_SIZE_FIELD_NUMBER

      public static final int IO_URING_SIZE_FIELD_NUMBER
      See Also:
    • ENABLE_SUBMISSION_QUEUE_POLLING_FIELD_NUMBER

      public static final int ENABLE_SUBMISSION_QUEUE_POLLING_FIELD_NUMBER
      See Also:
    • READ_BUFFER_SIZE_FIELD_NUMBER

      public static final int READ_BUFFER_SIZE_FIELD_NUMBER
      See Also:
    • WRITE_TIMEOUT_MS_FIELD_NUMBER

      public static final int WRITE_TIMEOUT_MS_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • hasIoUringSize

      public boolean hasIoUringSize()
       The size for io_uring submission queues (SQ). io_uring is built with a fixed size in each
       thread during configuration, and each io_uring operation creates a submission queue
       entry (SQE). The default is 1000.
       
      .google.protobuf.UInt32Value io_uring_size = 1;
      Specified by:
      hasIoUringSize in interface IoUringOptionsOrBuilder
      Returns:
      Whether the ioUringSize field is set.
    • getIoUringSize

      public com.google.protobuf.UInt32Value getIoUringSize()
       The size for io_uring submission queues (SQ). io_uring is built with a fixed size in each
       thread during configuration, and each io_uring operation creates a submission queue
       entry (SQE). The default is 1000.
       
      .google.protobuf.UInt32Value io_uring_size = 1;
      Specified by:
      getIoUringSize in interface IoUringOptionsOrBuilder
      Returns:
      The ioUringSize.
    • getIoUringSizeOrBuilder

      public com.google.protobuf.UInt32ValueOrBuilder getIoUringSizeOrBuilder()
       The size for io_uring submission queues (SQ). io_uring is built with a fixed size in each
       thread during configuration, and each io_uring operation creates a submission queue
       entry (SQE). The default is 1000.
       
      .google.protobuf.UInt32Value io_uring_size = 1;
      Specified by:
      getIoUringSizeOrBuilder in interface IoUringOptionsOrBuilder
    • getEnableSubmissionQueuePolling

      public boolean getEnableSubmissionQueuePolling()
       Enable io_uring submission queue polling (SQPOLL). io_uring SQPOLL mode polls all SQEs in the
       SQ in the kernel thread. io_uring SQPOLL mode may reduce latency and increase CPU usage as a
       cost. The default is false.
       
      bool enable_submission_queue_polling = 2;
      Specified by:
      getEnableSubmissionQueuePolling in interface IoUringOptionsOrBuilder
      Returns:
      The enableSubmissionQueuePolling.
    • hasReadBufferSize

      public boolean hasReadBufferSize()
       The size of an io_uring socket's read buffer. Each io_uring read operation will allocate a
       buffer of the given size. If the given buffer is too small, the socket will have read multiple
       times for all the data. The default is 8192.
       
      .google.protobuf.UInt32Value read_buffer_size = 3;
      Specified by:
      hasReadBufferSize in interface IoUringOptionsOrBuilder
      Returns:
      Whether the readBufferSize field is set.
    • getReadBufferSize

      public com.google.protobuf.UInt32Value getReadBufferSize()
       The size of an io_uring socket's read buffer. Each io_uring read operation will allocate a
       buffer of the given size. If the given buffer is too small, the socket will have read multiple
       times for all the data. The default is 8192.
       
      .google.protobuf.UInt32Value read_buffer_size = 3;
      Specified by:
      getReadBufferSize in interface IoUringOptionsOrBuilder
      Returns:
      The readBufferSize.
    • getReadBufferSizeOrBuilder

      public com.google.protobuf.UInt32ValueOrBuilder getReadBufferSizeOrBuilder()
       The size of an io_uring socket's read buffer. Each io_uring read operation will allocate a
       buffer of the given size. If the given buffer is too small, the socket will have read multiple
       times for all the data. The default is 8192.
       
      .google.protobuf.UInt32Value read_buffer_size = 3;
      Specified by:
      getReadBufferSizeOrBuilder in interface IoUringOptionsOrBuilder
    • hasWriteTimeoutMs

      public boolean hasWriteTimeoutMs()
       The write timeout of an io_uring socket on closing in ms. io_uring writes and closes
       asynchronously. If the remote stops reading, the io_uring write operation may never complete.
       The operation is canceled and the socket is closed after the timeout. The default is 1000.
       
      .google.protobuf.UInt32Value write_timeout_ms = 4;
      Specified by:
      hasWriteTimeoutMs in interface IoUringOptionsOrBuilder
      Returns:
      Whether the writeTimeoutMs field is set.
    • getWriteTimeoutMs

      public com.google.protobuf.UInt32Value getWriteTimeoutMs()
       The write timeout of an io_uring socket on closing in ms. io_uring writes and closes
       asynchronously. If the remote stops reading, the io_uring write operation may never complete.
       The operation is canceled and the socket is closed after the timeout. The default is 1000.
       
      .google.protobuf.UInt32Value write_timeout_ms = 4;
      Specified by:
      getWriteTimeoutMs in interface IoUringOptionsOrBuilder
      Returns:
      The writeTimeoutMs.
    • getWriteTimeoutMsOrBuilder

      public com.google.protobuf.UInt32ValueOrBuilder getWriteTimeoutMsOrBuilder()
       The write timeout of an io_uring socket on closing in ms. io_uring writes and closes
       asynchronously. If the remote stops reading, the io_uring write operation may never complete.
       The operation is canceled and the socket is closed after the timeout. The default is 1000.
       
      .google.protobuf.UInt32Value write_timeout_ms = 4;
      Specified by:
      getWriteTimeoutMsOrBuilder in interface IoUringOptionsOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static IoUringOptions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static IoUringOptions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static IoUringOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static IoUringOptions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static IoUringOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static IoUringOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static IoUringOptions parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static IoUringOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static IoUringOptions parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static IoUringOptions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static IoUringOptions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static IoUringOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public IoUringOptions.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static IoUringOptions.Builder newBuilder()
    • newBuilder

      public static IoUringOptions.Builder newBuilder(IoUringOptions prototype)
    • toBuilder

      public IoUringOptions.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected IoUringOptions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static IoUringOptions getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<IoUringOptions> parser()
    • getParserForType

      public com.google.protobuf.Parser<IoUringOptions> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public IoUringOptions getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder