Package com.yahoo.document.config
Class DocumenttypesConfig.Doctype.Builder
java.lang.Object
com.yahoo.document.config.DocumenttypesConfig.Doctype.Builder
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder
- Enclosing class:
- DocumenttypesConfig.Doctype
public static class DocumenttypesConfig.Doctype.Builder
extends Object
implements com.yahoo.config.ConfigBuilder
-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdd the given builder to this builder's list of Annotationref buildersMake a new builder and run the supplied function on it before adding it to the listSet the given list as this builder's list of Annotationref buildersAdd the given builder to this builder's list of Annotationtype buildersMake a new builder and run the supplied function on it before adding it to the listSet the given list as this builder's list of Annotationtype buildersAdd the given builder to this builder's list of Arraytype buildersMake a new builder and run the supplied function on it before adding it to the listarraytype
(List<DocumenttypesConfig.Doctype.Arraytype.Builder> __builders) Set the given list as this builder's list of Arraytype buildersbuild()
contentstruct
(int __value) Add the given builder to this builder's list of Documentref buildersMake a new builder and run the supplied function on it before adding it to the listSet the given list as this builder's list of Documentref buildersfieldsets
(String __key, DocumenttypesConfig.Doctype.Fieldsets.Builder __value) fieldsets
(String __key, Consumer<DocumenttypesConfig.Doctype.Fieldsets.Builder> __func) Make a new builder and run the supplied function on it before using it as the valueidx
(int __value) Add the given builder to this builder's list of Importedfield buildersMake a new builder and run the supplied function on it before adding it to the listSet the given list as this builder's list of Importedfield buildersAdd the given builder to this builder's list of Inherits buildersMake a new builder and run the supplied function on it before adding it to the listinherits
(List<DocumenttypesConfig.Doctype.Inherits.Builder> __builders) Set the given list as this builder's list of Inherits buildersinternalid
(int __value) Add the given builder to this builder's list of Maptype buildersMake a new builder and run the supplied function on it before adding it to the listmaptype
(List<DocumenttypesConfig.Doctype.Maptype.Builder> __builders) Set the given list as this builder's list of Maptype buildersAdd the given builder to this builder's list of Primitivetype buildersMake a new builder and run the supplied function on it before adding it to the listSet the given list as this builder's list of Primitivetype buildersAdd the given builder to this builder's list of Structtype buildersMake a new builder and run the supplied function on it before adding it to the liststructtype
(List<DocumenttypesConfig.Doctype.Structtype.Builder> __builders) Set the given list as this builder's list of Structtype buildersAdd the given builder to this builder's list of Tensortype buildersMake a new builder and run the supplied function on it before adding it to the listtensortype
(List<DocumenttypesConfig.Doctype.Tensortype.Builder> __builders) Set the given list as this builder's list of Tensortype buildersAdd the given builder to this builder's list of Wsettype buildersMake a new builder and run the supplied function on it before adding it to the listwsettype
(List<DocumenttypesConfig.Doctype.Wsettype.Builder> __builders) Set the given list as this builder's list of Wsettype builders
-
Field Details
-
inherits
-
fieldsets
-
importedfield
-
primitivetype
-
arraytype
-
maptype
-
wsettype
-
tensortype
-
documentref
-
annotationtype
-
annotationref
-
structtype
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
name
-
idx
-
internalid
-
inherits
public DocumenttypesConfig.Doctype.Builder inherits(DocumenttypesConfig.Doctype.Inherits.Builder __builder) Add the given builder to this builder's list of Inherits builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
inherits
public DocumenttypesConfig.Doctype.Builder inherits(Consumer<DocumenttypesConfig.Doctype.Inherits.Builder> __func) Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func
- lambda that modifies the given builder- Returns:
- this builder
-
inherits
public DocumenttypesConfig.Doctype.Builder inherits(List<DocumenttypesConfig.Doctype.Inherits.Builder> __builders) Set the given list as this builder's list of Inherits builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
contentstruct
-
fieldsets
public DocumenttypesConfig.Doctype.Builder fieldsets(String __key, DocumenttypesConfig.Doctype.Fieldsets.Builder __value) -
fieldsets
public DocumenttypesConfig.Doctype.Builder fieldsets(Map<String, DocumenttypesConfig.Doctype.Fieldsets.Builder> __values) -
fieldsets
public DocumenttypesConfig.Doctype.Builder fieldsets(String __key, Consumer<DocumenttypesConfig.Doctype.Fieldsets.Builder> __func) Make a new builder and run the supplied function on it before using it as the value- Parameters:
__func
- lambda that modifies the given builder- Returns:
- this builder
-
importedfield
public DocumenttypesConfig.Doctype.Builder importedfield(DocumenttypesConfig.Doctype.Importedfield.Builder __builder) Add the given builder to this builder's list of Importedfield builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
importedfield
public DocumenttypesConfig.Doctype.Builder importedfield(Consumer<DocumenttypesConfig.Doctype.Importedfield.Builder> __func) Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func
- lambda that modifies the given builder- Returns:
- this builder
-
importedfield
public DocumenttypesConfig.Doctype.Builder importedfield(List<DocumenttypesConfig.Doctype.Importedfield.Builder> __builders) Set the given list as this builder's list of Importedfield builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
primitivetype
public DocumenttypesConfig.Doctype.Builder primitivetype(DocumenttypesConfig.Doctype.Primitivetype.Builder __builder) Add the given builder to this builder's list of Primitivetype builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
primitivetype
public DocumenttypesConfig.Doctype.Builder primitivetype(Consumer<DocumenttypesConfig.Doctype.Primitivetype.Builder> __func) Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func
- lambda that modifies the given builder- Returns:
- this builder
-
primitivetype
public DocumenttypesConfig.Doctype.Builder primitivetype(List<DocumenttypesConfig.Doctype.Primitivetype.Builder> __builders) Set the given list as this builder's list of Primitivetype builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
arraytype
public DocumenttypesConfig.Doctype.Builder arraytype(DocumenttypesConfig.Doctype.Arraytype.Builder __builder) Add the given builder to this builder's list of Arraytype builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
arraytype
public DocumenttypesConfig.Doctype.Builder arraytype(Consumer<DocumenttypesConfig.Doctype.Arraytype.Builder> __func) Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func
- lambda that modifies the given builder- Returns:
- this builder
-
arraytype
public DocumenttypesConfig.Doctype.Builder arraytype(List<DocumenttypesConfig.Doctype.Arraytype.Builder> __builders) Set the given list as this builder's list of Arraytype builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
maptype
public DocumenttypesConfig.Doctype.Builder maptype(DocumenttypesConfig.Doctype.Maptype.Builder __builder) Add the given builder to this builder's list of Maptype builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
maptype
public DocumenttypesConfig.Doctype.Builder maptype(Consumer<DocumenttypesConfig.Doctype.Maptype.Builder> __func) Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func
- lambda that modifies the given builder- Returns:
- this builder
-
maptype
public DocumenttypesConfig.Doctype.Builder maptype(List<DocumenttypesConfig.Doctype.Maptype.Builder> __builders) Set the given list as this builder's list of Maptype builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
wsettype
public DocumenttypesConfig.Doctype.Builder wsettype(DocumenttypesConfig.Doctype.Wsettype.Builder __builder) Add the given builder to this builder's list of Wsettype builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
wsettype
public DocumenttypesConfig.Doctype.Builder wsettype(Consumer<DocumenttypesConfig.Doctype.Wsettype.Builder> __func) Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func
- lambda that modifies the given builder- Returns:
- this builder
-
wsettype
public DocumenttypesConfig.Doctype.Builder wsettype(List<DocumenttypesConfig.Doctype.Wsettype.Builder> __builders) Set the given list as this builder's list of Wsettype builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
tensortype
public DocumenttypesConfig.Doctype.Builder tensortype(DocumenttypesConfig.Doctype.Tensortype.Builder __builder) Add the given builder to this builder's list of Tensortype builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
tensortype
public DocumenttypesConfig.Doctype.Builder tensortype(Consumer<DocumenttypesConfig.Doctype.Tensortype.Builder> __func) Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func
- lambda that modifies the given builder- Returns:
- this builder
-
tensortype
public DocumenttypesConfig.Doctype.Builder tensortype(List<DocumenttypesConfig.Doctype.Tensortype.Builder> __builders) Set the given list as this builder's list of Tensortype builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
documentref
public DocumenttypesConfig.Doctype.Builder documentref(DocumenttypesConfig.Doctype.Documentref.Builder __builder) Add the given builder to this builder's list of Documentref builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
documentref
public DocumenttypesConfig.Doctype.Builder documentref(Consumer<DocumenttypesConfig.Doctype.Documentref.Builder> __func) Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func
- lambda that modifies the given builder- Returns:
- this builder
-
documentref
public DocumenttypesConfig.Doctype.Builder documentref(List<DocumenttypesConfig.Doctype.Documentref.Builder> __builders) Set the given list as this builder's list of Documentref builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
annotationtype
public DocumenttypesConfig.Doctype.Builder annotationtype(DocumenttypesConfig.Doctype.Annotationtype.Builder __builder) Add the given builder to this builder's list of Annotationtype builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
annotationtype
public DocumenttypesConfig.Doctype.Builder annotationtype(Consumer<DocumenttypesConfig.Doctype.Annotationtype.Builder> __func) Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func
- lambda that modifies the given builder- Returns:
- this builder
-
annotationtype
public DocumenttypesConfig.Doctype.Builder annotationtype(List<DocumenttypesConfig.Doctype.Annotationtype.Builder> __builders) Set the given list as this builder's list of Annotationtype builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
annotationref
public DocumenttypesConfig.Doctype.Builder annotationref(DocumenttypesConfig.Doctype.Annotationref.Builder __builder) Add the given builder to this builder's list of Annotationref builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
annotationref
public DocumenttypesConfig.Doctype.Builder annotationref(Consumer<DocumenttypesConfig.Doctype.Annotationref.Builder> __func) Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func
- lambda that modifies the given builder- Returns:
- this builder
-
annotationref
public DocumenttypesConfig.Doctype.Builder annotationref(List<DocumenttypesConfig.Doctype.Annotationref.Builder> __builders) Set the given list as this builder's list of Annotationref builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
structtype
public DocumenttypesConfig.Doctype.Builder structtype(DocumenttypesConfig.Doctype.Structtype.Builder __builder) Add the given builder to this builder's list of Structtype builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
structtype
public DocumenttypesConfig.Doctype.Builder structtype(Consumer<DocumenttypesConfig.Doctype.Structtype.Builder> __func) Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func
- lambda that modifies the given builder- Returns:
- this builder
-
structtype
public DocumenttypesConfig.Doctype.Builder structtype(List<DocumenttypesConfig.Doctype.Structtype.Builder> __builders) Set the given list as this builder's list of Structtype builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
build
-