public class ServiceMethod extends Object implements PMessage<ServiceMethod>, Serializable, Comparable<ServiceMethod>
| Modifier and Type | Class and Description |
|---|---|
static class |
ServiceMethod._Builder |
static class |
ServiceMethod._Field |
| Modifier and Type | Field and Description |
|---|---|
static PStructDescriptor<ServiceMethod,ServiceMethod._Field> |
kDescriptor |
| Constructor and Description |
|---|
ServiceMethod(String pComment,
boolean pOneWay,
String pReturnType,
String pName,
List<ThriftField> pParams,
List<ThriftField> pExceptions,
Map<String,String> pAnnotations) |
| Modifier and Type | Method and Description |
|---|---|
String |
asString() |
static ServiceMethod._Builder |
builder()
Make a model.ServiceMethod builder.
|
boolean |
compact() |
int |
compareTo(ServiceMethod other) |
PStructDescriptor<ServiceMethod,ServiceMethod._Field> |
descriptor() |
boolean |
equals(Object o) |
Object |
get(int key) |
Map<String,String> |
getAnnotations() |
String |
getComment() |
List<ThriftField> |
getExceptions() |
String |
getName() |
List<ThriftField> |
getParams() |
String |
getReturnType() |
boolean |
has(int key) |
boolean |
hasAnnotations() |
boolean |
hasComment() |
boolean |
hasExceptions() |
int |
hashCode() |
boolean |
hasName() |
boolean |
hasOneWay() |
boolean |
hasParams() |
boolean |
hasReturnType() |
boolean |
isOneWay() |
ServiceMethod._Builder |
mutate() |
int |
num(int key) |
int |
numAnnotations() |
int |
numExceptions() |
int |
numParams() |
static PStructDescriptorProvider<ServiceMethod,ServiceMethod._Field> |
provider() |
String |
toString() |
public static final PStructDescriptor<ServiceMethod,ServiceMethod._Field> kDescriptor
public ServiceMethod(String pComment, boolean pOneWay, String pReturnType, String pName, List<ThriftField> pParams, List<ThriftField> pExceptions, Map<String,String> pAnnotations)
public boolean hasComment()
public String getComment()
public boolean hasOneWay()
public boolean isOneWay()
public boolean hasReturnType()
public String getReturnType()
public boolean hasName()
public String getName()
public int numParams()
public boolean hasParams()
public List<ThriftField> getParams()
public int numExceptions()
public boolean hasExceptions()
public List<ThriftField> getExceptions()
public int numAnnotations()
public boolean hasAnnotations()
public boolean has(int key)
has in interface PMessage<ServiceMethod>public int num(int key)
num in interface PMessage<ServiceMethod>public Object get(int key)
get in interface PMessage<ServiceMethod>public boolean compact()
compact in interface PMessage<ServiceMethod>public String asString()
asString in interface PMessage<ServiceMethod>asString in interface net.morimekta.util.Stringablepublic int compareTo(ServiceMethod other)
compareTo in interface Comparable<ServiceMethod>public static PStructDescriptorProvider<ServiceMethod,ServiceMethod._Field> provider()
public PStructDescriptor<ServiceMethod,ServiceMethod._Field> descriptor()
descriptor in interface PMessage<ServiceMethod>descriptor in interface PValue<ServiceMethod>public ServiceMethod._Builder mutate()
mutate in interface PMessage<ServiceMethod>public static ServiceMethod._Builder builder()
Copyright © 2016. All rights reserved.