Class IoUringOptions.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<IoUringOptions.Builder>
io.envoyproxy.envoy.extensions.network.socket_interface.v3.IoUringOptions.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,IoUringOptionsOrBuilder,Cloneable
- Enclosing class:
- IoUringOptions
public static final class IoUringOptions.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<IoUringOptions.Builder>
implements IoUringOptionsOrBuilder
Protobuf type
envoy.extensions.network.socket_interface.v3.IoUringOptions-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()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.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) 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).clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The size of an io_uring socket's read buffer.The write timeout of an io_uring socket on closing in ms. io_uring writes and closes asynchronously.clone()static final com.google.protobuf.Descriptors.Descriptorcom.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.UInt32Value.BuilderThe 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.UInt32ValueThe size of an io_uring socket's read buffer.com.google.protobuf.UInt32Value.BuilderThe size of an io_uring socket's read buffer.com.google.protobuf.UInt32ValueOrBuilderThe size of an io_uring socket's read buffer.com.google.protobuf.UInt32ValueThe write timeout of an io_uring socket on closing in ms. io_uring writes and closes asynchronously.com.google.protobuf.UInt32Value.BuilderThe 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.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 booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(IoUringOptions other) mergeIoUringSize(com.google.protobuf.UInt32Value value) 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).mergeReadBufferSize(com.google.protobuf.UInt32Value value) The size of an io_uring socket's read buffer.final IoUringOptions.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) mergeWriteTimeoutMs(com.google.protobuf.UInt32Value value) The write timeout of an io_uring socket on closing in ms. io_uring writes and closes asynchronously.setEnableSubmissionQueuePolling(boolean value) 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.setIoUringSize(com.google.protobuf.UInt32Value value) 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).setIoUringSize(com.google.protobuf.UInt32Value.Builder builderForValue) 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).setReadBufferSize(com.google.protobuf.UInt32Value value) The size of an io_uring socket's read buffer.setReadBufferSize(com.google.protobuf.UInt32Value.Builder builderForValue) The size of an io_uring socket's read buffer.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final IoUringOptions.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setWriteTimeoutMs(com.google.protobuf.UInt32Value value) The write timeout of an io_uring socket on closing in ms. io_uring writes and closes asynchronously.setWriteTimeoutMs(com.google.protobuf.UInt32Value.Builder builderForValue) The write timeout of an io_uring socket on closing in ms. io_uring writes and closes asynchronously.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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<IoUringOptions.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<IoUringOptions.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<IoUringOptions.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<IoUringOptions.Builder>
-
setField
public IoUringOptions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IoUringOptions.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IoUringOptions.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<IoUringOptions.Builder>
-
setRepeatedField
public IoUringOptions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IoUringOptions.Builder>
-
addRepeatedField
public IoUringOptions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IoUringOptions.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IoUringOptions.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<IoUringOptions.Builder>
-
mergeFrom
public IoUringOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IoUringOptions.Builder>- Throws:
IOException
-
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.
-
setIoUringSize
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; -
setIoUringSize
public IoUringOptions.Builder setIoUringSize(com.google.protobuf.UInt32Value.Builder builderForValue) 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; -
mergeIoUringSize
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; -
clearIoUringSize
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; -
getIoUringSizeBuilder
public com.google.protobuf.UInt32Value.Builder getIoUringSizeBuilder()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; -
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.
-
setEnableSubmissionQueuePolling
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;- Parameters:
value- The enableSubmissionQueuePolling to set.- Returns:
- This builder for chaining.
-
clearEnableSubmissionQueuePolling
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;- Returns:
- This builder for chaining.
-
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.
-
setReadBufferSize
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; -
setReadBufferSize
public IoUringOptions.Builder setReadBufferSize(com.google.protobuf.UInt32Value.Builder builderForValue) 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; -
mergeReadBufferSize
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; -
clearReadBufferSize
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; -
getReadBufferSizeBuilder
public com.google.protobuf.UInt32Value.Builder getReadBufferSizeBuilder()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; -
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.
-
setWriteTimeoutMs
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; -
setWriteTimeoutMs
public IoUringOptions.Builder setWriteTimeoutMs(com.google.protobuf.UInt32Value.Builder builderForValue) 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; -
mergeWriteTimeoutMs
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; -
clearWriteTimeoutMs
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; -
getWriteTimeoutMsBuilder
public com.google.protobuf.UInt32Value.Builder getWriteTimeoutMsBuilder()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; -
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
-
setUnknownFields
public final IoUringOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<IoUringOptions.Builder>
-
mergeUnknownFields
public final IoUringOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<IoUringOptions.Builder>
-