Class OneOfDescriptor.Builder
java.lang.Object
org.infinispan.protostream.descriptors.OneOfDescriptor.Builder
- All Implemented Interfaces:
FieldContainer<OneOfDescriptor.Builder>
- Enclosing class:
- OneOfDescriptor
public static final class OneOfDescriptor.Builder
extends Object
implements FieldContainer<OneOfDescriptor.Builder>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddField
(FieldDescriptor.Builder field) build()
withDocumentation
(String documentation) withFields
(List<FieldDescriptor> fields)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withName
-
withDocumentation
-
withFields
-
addField
- Specified by:
addField
in interfaceFieldContainer<OneOfDescriptor.Builder>
-
build
-