public static class TypedefType._Builder extends PMessageBuilder<TypedefType,TypedefType._Field> implements BinaryReader
| Constructor and Description |
|---|
_Builder()
Make a pmodel.TypedefType builder instance.
|
_Builder(TypedefType base)
Make a mutating builder off a base pmodel.TypedefType.
|
| Modifier and Type | Method and Description |
|---|---|
TypedefType._Builder |
addTo(int key,
Object value) |
TypedefType |
build() |
TypedefType._Builder |
clear(int key) |
TypedefType._Builder |
clearDocumentation()
Clear the
documentation field. |
TypedefType._Builder |
clearEndPos()
Clear the
end_pos field. |
TypedefType._Builder |
clearName()
Clear the
name field. |
TypedefType._Builder |
clearStartPos()
Clear the
start_pos field. |
TypedefType._Builder |
clearType()
Clear the
type field. |
PStructDescriptor<TypedefType,TypedefType._Field> |
descriptor() |
boolean |
equals(Object o) |
String |
getDocumentation() |
FilePos |
getEndPos()
The end of the definition
|
String |
getName() |
FilePos |
getStartPos()
The start of the definition (position of 'typedef')
|
String |
getType() |
int |
hashCode() |
boolean |
isModified(int key) |
boolean |
isModifiedDocumentation()
Checks if the
documentation field has been modified since the
builder was created. |
boolean |
isModifiedEndPos()
Checks if the
end_pos field has been modified since the
builder was created. |
boolean |
isModifiedName()
Checks if the
name field has been modified since the
builder was created. |
boolean |
isModifiedStartPos()
Checks if the
start_pos field has been modified since the
builder was created. |
boolean |
isModifiedType()
Checks if the
type field has been modified since the
builder was created. |
boolean |
isSet(int key) |
boolean |
isSetDocumentation()
Checks for presence of the
documentation field. |
boolean |
isSetEndPos()
Checks for presence of the
end_pos field. |
boolean |
isSetName()
Checks for presence of the
name field. |
boolean |
isSetStartPos()
Checks for presence of the
start_pos field. |
boolean |
isSetType()
Checks for presence of the
type field. |
TypedefType._Builder |
merge(TypedefType from) |
FilePos._Builder |
mutableEndPos()
Get the builder for the contained
end_pos message field. |
FilePos._Builder |
mutableStartPos()
Get the builder for the contained
start_pos message field. |
PMessageBuilder |
mutator(int key) |
void |
readBinary(net.morimekta.util.io.BigEndianBinaryReader reader,
boolean strict) |
TypedefType._Builder |
set(int key,
Object value) |
TypedefType._Builder |
setDocumentation(String value)
Set the
documentation field value. |
TypedefType._Builder |
setEndPos(FilePos._Builder builder)
Set the
end_pos field value. |
TypedefType._Builder |
setEndPos(FilePos value)
Set the
end_pos field value. |
TypedefType._Builder |
setName(String value)
Set the
name field value. |
TypedefType._Builder |
setStartPos(FilePos._Builder builder)
Set the
start_pos field value. |
TypedefType._Builder |
setStartPos(FilePos value)
Set the
start_pos field value. |
TypedefType._Builder |
setType(String value)
Set the
type field value. |
boolean |
valid() |
void |
validate() |
addTo, clear, isModified, isSet, modifiedFields, mutator, presentFields, setpublic _Builder()
public _Builder(TypedefType base)
base - The base TypedefType@Nonnull public TypedefType._Builder merge(TypedefType from)
merge in class PMessageBuilder<TypedefType,TypedefType._Field>@Nonnull public TypedefType._Builder setDocumentation(String value)
documentation field value.value - The new valuepublic boolean isSetDocumentation()
documentation field.public boolean isModifiedDocumentation()
documentation field has been modified since the
builder was created.@Nonnull public TypedefType._Builder clearDocumentation()
documentation field.public String getDocumentation()
documentation field value@Nonnull public TypedefType._Builder setType(String value)
type field value.value - The new valuepublic boolean isSetType()
type field.public boolean isModifiedType()
type field has been modified since the
builder was created.@Nonnull public TypedefType._Builder clearType()
type field.public String getType()
type field value@Nonnull public TypedefType._Builder setName(String value)
name field value.value - The new valuepublic boolean isSetName()
name field.public boolean isModifiedName()
name field has been modified since the
builder was created.@Nonnull public TypedefType._Builder clearName()
name field.public String getName()
name field value@Nonnull public TypedefType._Builder setStartPos(FilePos value)
start_pos field value.
The start of the definition (position of 'typedef')
value - The new value@Nonnull public TypedefType._Builder setStartPos(FilePos._Builder builder)
start_pos field value.
The start of the definition (position of 'typedef')
builder - builder for the new valuepublic boolean isSetStartPos()
start_pos field.public boolean isModifiedStartPos()
start_pos field has been modified since the
builder was created.@Nonnull public TypedefType._Builder clearStartPos()
start_pos field.@Nonnull public FilePos._Builder mutableStartPos()
start_pos message field.
The start of the definition (position of 'typedef')
public FilePos getStartPos()
@Nonnull public TypedefType._Builder setEndPos(FilePos value)
end_pos field value.
The end of the definition
value - The new value@Nonnull public TypedefType._Builder setEndPos(FilePos._Builder builder)
end_pos field value.
The end of the definition
builder - builder for the new valuepublic boolean isSetEndPos()
end_pos field.public boolean isModifiedEndPos()
end_pos field has been modified since the
builder was created.@Nonnull public TypedefType._Builder clearEndPos()
end_pos field.@Nonnull public FilePos._Builder mutableEndPos()
end_pos message field.
The end of the definition
public FilePos getEndPos()
public PMessageBuilder mutator(int key)
mutator in class PMessageBuilder<TypedefType,TypedefType._Field>@Nonnull public TypedefType._Builder set(int key, Object value)
set in class PMessageBuilder<TypedefType,TypedefType._Field>public boolean isSet(int key)
isSet in class PMessageBuilder<TypedefType,TypedefType._Field>public boolean isModified(int key)
isModified in class PMessageBuilder<TypedefType,TypedefType._Field>public TypedefType._Builder addTo(int key, Object value)
addTo in class PMessageBuilder<TypedefType,TypedefType._Field>@Nonnull public TypedefType._Builder clear(int key)
clear in class PMessageBuilder<TypedefType,TypedefType._Field>public boolean valid()
valid in class PMessageBuilder<TypedefType,TypedefType._Field>public void validate()
validate in class PMessageBuilder<TypedefType,TypedefType._Field>@Nonnull public PStructDescriptor<TypedefType,TypedefType._Field> descriptor()
descriptor in class PMessageBuilder<TypedefType,TypedefType._Field>public void readBinary(net.morimekta.util.io.BigEndianBinaryReader reader,
boolean strict)
throws IOException
readBinary in interface BinaryReaderIOExceptionpublic TypedefType build()
build in interface PBuilder<TypedefType>Copyright © 2015–2018 morimekta.net. All rights reserved.