Interface Configuration.Builder
- All Known Implementing Classes:
ConfigurationImpl.BuilderImpl
- Enclosing interface:
Configuration
public static interface Configuration.Builder
- Since:
- 2.0
-
Method Summary
Modifier and TypeMethodDescriptionbuild()maxNestedMessageDepth(int maxNestedMessageDepth) schemaValidation(Configuration.SchemaValidation schemaValidation) setLenient(boolean lenient) setLogOutOfSequenceReads(boolean logOutOfSequenceReads) setLogOutOfSequenceWrites(boolean logOutOfSequenceWrites) wrapCollectionElements(boolean wrapCollectionElements) Wraps all the elements in a collection or array into a wrapped message.
-
Method Details
-
setLogOutOfSequenceReads
-
setLogOutOfSequenceWrites
-
setLenient
-
maxNestedMessageDepth
-
schemaValidation
-
wrapCollectionElements
Wraps all the elements in a collection or array into a wrapped message.WARNING: enabling this option will change the binary format in an incompatible way. All readers/writers must have this option enabled or disabled in order to be able to parse the messages. Use with caution.
This option is required to fix a bug (IPROTO-273) where collections (or arrays) of non-primitive classes are unable to be read.
- Parameters:
wrapCollectionElements-trueto enable wrap the elements,falseotherwise.- Returns:
- This instance.
-
annotationsConfig
Configuration.AnnotationsConfig.Builder annotationsConfig() -
build
Configuration build()
-