@Generated(value="providence-maven-plugin") @Immutable public class ServiceType extends Object implements PMessage<ServiceType,ServiceType._Field>, Comparable<ServiceType>, Serializable, BinaryWriter
| Modifier and Type | Class and Description |
|---|---|
static class |
ServiceType._Builder
service (extends <extend>)?
|
static class |
ServiceType._Field |
| Modifier and Type | Field and Description |
|---|---|
static PStructDescriptor<ServiceType,ServiceType._Field> |
kDescriptor |
| Modifier and Type | Method and Description |
|---|---|
String |
asString() |
static ServiceType._Builder |
builder()
Make a model.ServiceType builder.
|
int |
compareTo(ServiceType other) |
PStructDescriptor<ServiceType,ServiceType._Field> |
descriptor() |
boolean |
equals(Object o) |
<T> T |
get(int key) |
Map<String,String> |
getAnnotations() |
String |
getDocumentation() |
String |
getExtend() |
List<FunctionType> |
getMethods() |
String |
getName() |
boolean |
has(int key) |
boolean |
hasAnnotations() |
boolean |
hasDocumentation() |
boolean |
hasExtend() |
int |
hashCode() |
boolean |
hasMethods() |
boolean |
hasName() |
ServiceType._Builder |
mutate() |
int |
numAnnotations() |
int |
numMethods() |
Optional<Map<String,String>> |
optionalAnnotations() |
Optional<String> |
optionalDocumentation() |
Optional<String> |
optionalExtend() |
static PStructDescriptorProvider<ServiceType,ServiceType._Field> |
provider() |
String |
toString() |
int |
writeBinary(net.morimekta.util.io.BigEndianBinaryWriter writer) |
public static final PStructDescriptor<ServiceType,ServiceType._Field> kDescriptor
public boolean hasDocumentation()
public String getDocumentation()
@Nonnull public Optional<String> optionalDocumentation()
public boolean hasName()
public boolean hasExtend()
public String getExtend()
public int numMethods()
public boolean hasMethods()
@Nonnull public List<FunctionType> getMethods()
public int numAnnotations()
public boolean hasAnnotations()
@Nonnull public Optional<Map<String,String>> optionalAnnotations()
public boolean has(int key)
has in interface PMessage<ServiceType,ServiceType._Field>public <T> T get(int key)
get in interface PMessage<ServiceType,ServiceType._Field>@Nonnull public String asString()
asString in interface PMessage<ServiceType,ServiceType._Field>asString in interface net.morimekta.util.Stringablepublic int compareTo(ServiceType other)
compareTo in interface Comparable<ServiceType>public int writeBinary(net.morimekta.util.io.BigEndianBinaryWriter writer)
throws IOException
writeBinary in interface BinaryWriterIOException@Nonnull public ServiceType._Builder mutate()
mutate in interface PMessage<ServiceType,ServiceType._Field>@Nonnull public static PStructDescriptorProvider<ServiceType,ServiceType._Field> provider()
@Nonnull public PStructDescriptor<ServiceType,ServiceType._Field> descriptor()
descriptor in interface PMessage<ServiceType,ServiceType._Field>descriptor in interface PValue<ServiceType>public static ServiceType._Builder builder()
Copyright © 2015–2018 morimekta.net. All rights reserved.