Package net.morimekta.providence.model
Interface Decl._Builder
-
- All Superinterfaces:
Decl
- All Known Implementing Classes:
ConstType._Builder,EnumType._Builder,EnumValue._Builder,FieldType._Builder,FunctionType._Builder,MessageType._Builder,ServiceType._Builder,TypedefType._Builder
- Enclosing interface:
- Decl
public static interface Decl._Builder extends Decl
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.morimekta.providence.model.Decl
Decl._Builder, Decl._Field
-
-
Field Summary
-
Fields inherited from interface net.morimekta.providence.model.Decl
kDescriptor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Declbuild()Decl._BuilderclearDocumentation()Clear thedocumentationfield value.Decl._BuilderclearName()Clear thenamefield value.Decl._BuildersetDocumentation(java.lang.String value)Set thedocumentationfield value.Decl._BuildersetName(java.lang.String value)Set thenamefield value.-
Methods inherited from interface net.morimekta.providence.model.Decl
getDocumentation, getName, hasDocumentation, hasName, optionalDocumentation
-
-
-
-
Method Detail
-
setDocumentation
@Nonnull Decl._Builder setDocumentation(java.lang.String value)
Set thedocumentationfield value.Documentation for the specific declaration.
- Parameters:
value- The new value- Returns:
- The builder
-
clearDocumentation
@Nonnull Decl._Builder clearDocumentation()
Clear thedocumentationfield value.Documentation for the specific declaration.
- Returns:
- The builder
-
setName
@Nonnull Decl._Builder setName(java.lang.String value)
Set thenamefield value.Name of the type, constant or service.
- Parameters:
value- The new value- Returns:
- The builder
-
clearName
@Nonnull Decl._Builder clearName()
Clear thenamefield value.Name of the type, constant or service.
- Returns:
- The builder
-
build
@Nonnull Decl build()
- Returns:
- The built instance
-
-