Class IoUringOptions
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 ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeenvoy.extensions.network.socket_interface.v3.IoUringOptionsNested 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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic IoUringOptionsstatic final com.google.protobuf.Descriptors.DescriptorbooleanEnable 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.UInt32ValueThe 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.UInt32ValueOrBuilderThe 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.UInt32ValueThe size of an io_uring socket's read buffer.com.google.protobuf.UInt32ValueOrBuilderThe size of an io_uring socket's read buffer.intcom.google.protobuf.UInt32ValueThe write timeout of an io_uring socket on closing in ms. io_uring writes and closes asynchronously.com.google.protobuf.UInt32ValueOrBuilderThe write timeout of an io_uring socket on closing in ms. io_uring writes and closes asynchronously.inthashCode()booleanThe 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).booleanThe size of an io_uring socket's read buffer.booleanThe write timeout of an io_uring socket on closing in ms. io_uring writes and closes asynchronously.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic IoUringOptions.Builderstatic IoUringOptions.BuildernewBuilder(IoUringOptions prototype) protected IoUringOptions.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static IoUringOptionsparseDelimitedFrom(InputStream input) static IoUringOptionsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IoUringOptionsparseFrom(byte[] data) static IoUringOptionsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IoUringOptionsparseFrom(com.google.protobuf.ByteString data) static IoUringOptionsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IoUringOptionsparseFrom(com.google.protobuf.CodedInputStream input) static IoUringOptionsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IoUringOptionsparseFrom(InputStream input) static IoUringOptionsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IoUringOptionsparseFrom(ByteBuffer data) static IoUringOptionsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<IoUringOptions>parser()voidwriteTo(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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods 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
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.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:
hasIoUringSizein interfaceIoUringOptionsOrBuilder- 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:
getIoUringSizein interfaceIoUringOptionsOrBuilder- 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:
getIoUringSizeOrBuilderin interfaceIoUringOptionsOrBuilder
-
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:
getEnableSubmissionQueuePollingin interfaceIoUringOptionsOrBuilder- 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:
hasReadBufferSizein interfaceIoUringOptionsOrBuilder- 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:
getReadBufferSizein interfaceIoUringOptionsOrBuilder- 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:
getReadBufferSizeOrBuilderin interfaceIoUringOptionsOrBuilder
-
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:
hasWriteTimeoutMsin interfaceIoUringOptionsOrBuilder- 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:
getWriteTimeoutMsin interfaceIoUringOptionsOrBuilder- 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:
getWriteTimeoutMsOrBuilderin interfaceIoUringOptionsOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static IoUringOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected IoUringOptions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-