@Generated(value="net.morimekta.providence:providence-generator-java", comments="java:serializable") @Immutable public class TypedefType extends Object implements Decl, TypedefType_OrBuilder, net.morimekta.providence.PMessage<TypedefType>, Comparable<TypedefType>, Serializable, net.morimekta.providence.serializer.binary.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 net.morimekta.providence.descriptor.PStructDescriptor<TypedefType> |
kDescriptor |
| Modifier and Type | Method and Description |
|---|---|
String |
asString() |
static TypedefType._Builder |
builder()
Make a
p_model.TypedefType builder. |
int |
compareTo(TypedefType other) |
net.morimekta.providence.descriptor.PStructDescriptor<TypedefType> |
descriptor() |
boolean |
equals(Object o) |
<T> T |
get(int key) |
String |
getDocumentation()
Documentation for the specific declaration.
|
String |
getName()
Name of the type, constant or service.
|
String |
getType() |
boolean |
has(int key) |
boolean |
hasDocumentation() |
int |
hashCode() |
boolean |
hasName() |
boolean |
hasType() |
TypedefType._Builder |
mutate() |
Optional<String> |
optionalDocumentation()
Documentation for the specific declaration.
|
static net.morimekta.providence.descriptor.PStructDescriptorProvider<TypedefType> |
provider() |
String |
toString() |
int |
writeBinary(net.morimekta.util.io.BigEndianBinaryWriter writer) |
public static final net.morimekta.providence.descriptor.PStructDescriptor<TypedefType> kDescriptor
public boolean hasDocumentation()
hasDocumentation in interface Declpublic String getDocumentation()
DeclgetDocumentation in interface Decldocumentation value@Nonnull public Optional<String> optionalDocumentation()
DecloptionalDocumentation in interface Decldocumentation field value.public boolean hasType()
hasType in interface TypedefType_OrBuilder@Nonnull public String getType()
getType in interface TypedefType_OrBuildertype valuepublic boolean hasName()
@Nonnull public String getName()
Declpublic boolean has(int key)
has in interface net.morimekta.providence.PMessageOrBuilder<TypedefType>public <T> T get(int key)
get in interface net.morimekta.providence.PMessageOrBuilder<TypedefType>@Nonnull public String asString()
asString in interface net.morimekta.providence.PMessage<TypedefType>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 net.morimekta.providence.serializer.binary.BinaryWriterIOException@Nonnull public TypedefType._Builder mutate()
mutate in interface net.morimekta.providence.PMessage<TypedefType>@Nonnull public static net.morimekta.providence.descriptor.PStructDescriptorProvider<TypedefType> provider()
@Nonnull public net.morimekta.providence.descriptor.PStructDescriptor<TypedefType> descriptor()
descriptor in interface net.morimekta.providence.PMessageOrBuilder<TypedefType>descriptor in interface net.morimekta.providence.PValue<TypedefType>public static TypedefType._Builder builder()
p_model.TypedefType builder.Copyright © 2015–2020 morimekta.net. All rights reserved.