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) |
| Modifier and Type | Method and Description |
|---|---|
String |
asString() |
static ServiceMethod._Builder |
builder() |
int |
compareTo(ServiceMethod other) |
PStructDescriptor<ServiceMethod,ServiceMethod._Field> |
descriptor() |
boolean |
equals(Object o) |
Object |
get(int key) |
String |
getComment() |
List<ThriftField> |
getExceptions() |
String |
getName() |
List<ThriftField> |
getParams() |
String |
getReturnType() |
boolean |
has(int key) |
boolean |
hasComment() |
int |
hashCode() |
boolean |
hasName() |
boolean |
hasOneWay() |
boolean |
hasReturnType() |
boolean |
isCompact() |
boolean |
isOneWay() |
boolean |
isSimple() |
ServiceMethod._Builder |
mutate() |
int |
num(int key) |
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)
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 List<ThriftField> getParams()
public int numExceptions()
public List<ThriftField> getExceptions()
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 isCompact()
isCompact in interface PMessage<ServiceMethod>public boolean isSimple()
isSimple in interface PMessage<ServiceMethod>public String asString()
asString in interface PMessage<ServiceMethod>public 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.