@Generated(value="net.morimekta.providence:providence-generator-java", comments="java:serializable") @Immutable public class FunctionType extends Object implements Decl, FunctionType_OrBuilder, net.morimekta.providence.PMessage<FunctionType>, Comparable<FunctionType>, Serializable, net.morimekta.providence.serializer.binary.BinaryWriter
| Modifier and Type | Class and Description |
|---|---|
static class |
FunctionType._Builder
(oneway)?
|
static class |
FunctionType._Field |
| Modifier and Type | Field and Description |
|---|---|
static net.morimekta.providence.descriptor.PStructDescriptor<FunctionType> |
kDescriptor |
| Modifier and Type | Method and Description |
|---|---|
String |
asString() |
static FunctionType._Builder |
builder()
Make a
p_model.FunctionType builder. |
int |
compareTo(FunctionType other) |
net.morimekta.providence.descriptor.PStructDescriptor<FunctionType> |
descriptor() |
boolean |
equals(Object o) |
<T> T |
get(int key) |
Map<String,String> |
getAnnotations() |
String |
getDocumentation()
Documentation for the specific declaration.
|
List<FieldType> |
getExceptions() |
String |
getName()
Name of the type, constant or service.
|
List<FieldType> |
getParams() |
String |
getReturnType() |
boolean |
has(int key) |
boolean |
hasAnnotations() |
boolean |
hasDocumentation() |
boolean |
hasExceptions() |
int |
hashCode() |
boolean |
hasName() |
boolean |
hasOneWay() |
boolean |
hasParams() |
boolean |
hasReturnType() |
boolean |
isOneWay() |
FunctionType._Builder |
mutate() |
int |
numAnnotations() |
int |
numExceptions() |
int |
numParams() |
Optional<Map<String,String>> |
optionalAnnotations() |
Optional<String> |
optionalDocumentation()
Documentation for the specific declaration.
|
Optional<List<FieldType>> |
optionalExceptions() |
Optional<Boolean> |
optionalOneWay() |
Optional<String> |
optionalReturnType() |
static net.morimekta.providence.descriptor.PStructDescriptorProvider<FunctionType> |
provider() |
String |
toString() |
int |
writeBinary(net.morimekta.util.io.BigEndianBinaryWriter writer) |
public static final net.morimekta.providence.descriptor.PStructDescriptor<FunctionType> 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 hasOneWay()
hasOneWay in interface FunctionType_OrBuilderpublic boolean isOneWay()
isOneWay in interface FunctionType_OrBuilderone_way value@Nonnull public Optional<Boolean> optionalOneWay()
optionalOneWay in interface FunctionType_OrBuilderone_way field value.public boolean hasReturnType()
hasReturnType in interface FunctionType_OrBuilderpublic String getReturnType()
getReturnType in interface FunctionType_OrBuilderreturn_type value@Nonnull public Optional<String> optionalReturnType()
optionalReturnType in interface FunctionType_OrBuilderreturn_type field value.public boolean hasName()
@Nonnull public String getName()
Declpublic int numParams()
numParams in interface FunctionType_OrBuilderpublic boolean hasParams()
hasParams in interface FunctionType_OrBuilder@Nonnull public List<FieldType> getParams()
getParams in interface FunctionType_OrBuilderparams valuepublic int numExceptions()
numExceptions in interface FunctionType_OrBuilderpublic boolean hasExceptions()
hasExceptions in interface FunctionType_OrBuilderpublic List<FieldType> getExceptions()
getExceptions in interface FunctionType_OrBuilderexceptions value@Nonnull public Optional<List<FieldType>> optionalExceptions()
optionalExceptions in interface FunctionType_OrBuilderexceptions field value.public int numAnnotations()
numAnnotations in interface FunctionType_OrBuilderpublic boolean hasAnnotations()
hasAnnotations in interface FunctionType_OrBuilderpublic Map<String,String> getAnnotations()
getAnnotations in interface FunctionType_OrBuilderannotations value@Nonnull public Optional<Map<String,String>> optionalAnnotations()
optionalAnnotations in interface FunctionType_OrBuilderannotations field value.public boolean has(int key)
has in interface net.morimekta.providence.PMessageOrBuilder<FunctionType>public <T> T get(int key)
get in interface net.morimekta.providence.PMessageOrBuilder<FunctionType>@Nonnull public String asString()
asString in interface net.morimekta.providence.PMessage<FunctionType>asString in interface net.morimekta.util.Stringablepublic int compareTo(FunctionType other)
compareTo in interface Comparable<FunctionType>public int writeBinary(net.morimekta.util.io.BigEndianBinaryWriter writer)
throws IOException
writeBinary in interface net.morimekta.providence.serializer.binary.BinaryWriterIOException@Nonnull public FunctionType._Builder mutate()
mutate in interface net.morimekta.providence.PMessage<FunctionType>@Nonnull public static net.morimekta.providence.descriptor.PStructDescriptorProvider<FunctionType> provider()
@Nonnull public net.morimekta.providence.descriptor.PStructDescriptor<FunctionType> descriptor()
descriptor in interface net.morimekta.providence.PMessageOrBuilder<FunctionType>descriptor in interface net.morimekta.providence.PValue<FunctionType>public static FunctionType._Builder builder()
p_model.FunctionType builder.Copyright © 2015–2020 morimekta.net. All rights reserved.