@Generated(value="providence-maven-plugin") @Immutable public class TypedefType extends Object implements PMessage<TypedefType,TypedefType._Field>, Comparable<TypedefType>, Serializable, BinaryWriter
| Modifier and Type | Class and Description |
|---|---|
static class |
TypedefType._Builder
typedef <type> <name>
|
static class |
TypedefType._Field |
| Modifier and Type | Field and Description |
|---|---|
static PStructDescriptor<TypedefType,TypedefType._Field> |
kDescriptor |
| Modifier and Type | Method and Description |
|---|---|
String |
asString() |
static TypedefType._Builder |
builder()
Make a model.TypedefType builder.
|
int |
compareTo(TypedefType other) |
PStructDescriptor<TypedefType,TypedefType._Field> |
descriptor() |
boolean |
equals(Object o) |
<T> T |
get(int key) |
String |
getDocumentation() |
String |
getName() |
String |
getType() |
boolean |
has(int key) |
boolean |
hasDocumentation() |
int |
hashCode() |
boolean |
hasName() |
boolean |
hasType() |
TypedefType._Builder |
mutate() |
Optional<String> |
optionalDocumentation() |
static PStructDescriptorProvider<TypedefType,TypedefType._Field> |
provider() |
String |
toString() |
int |
writeBinary(net.morimekta.util.io.BigEndianBinaryWriter writer) |
public static final PStructDescriptor<TypedefType,TypedefType._Field> kDescriptor
public boolean hasDocumentation()
public String getDocumentation()
@Nonnull public Optional<String> optionalDocumentation()
public boolean hasType()
public boolean hasName()
public boolean has(int key)
has in interface PMessage<TypedefType,TypedefType._Field>public <T> T get(int key)
get in interface PMessage<TypedefType,TypedefType._Field>@Nonnull public String asString()
asString in interface PMessage<TypedefType,TypedefType._Field>asString in interface net.morimekta.util.Stringablepublic int compareTo(TypedefType other)
compareTo in interface Comparable<TypedefType>public int writeBinary(net.morimekta.util.io.BigEndianBinaryWriter writer)
throws IOException
writeBinary in interface BinaryWriterIOException@Nonnull public TypedefType._Builder mutate()
mutate in interface PMessage<TypedefType,TypedefType._Field>@Nonnull public static PStructDescriptorProvider<TypedefType,TypedefType._Field> provider()
@Nonnull public PStructDescriptor<TypedefType,TypedefType._Field> descriptor()
descriptor in interface PMessage<TypedefType,TypedefType._Field>descriptor in interface PValue<TypedefType>public static TypedefType._Builder builder()
Copyright © 2015–2018 morimekta.net. All rights reserved.