public final class Service extends Object
Modifier and Type | Method and Description |
---|---|
String |
documentation() |
Location |
location() |
String |
name() |
Options |
options() |
Rpc |
rpc(String name)
Returns the RPC named
name , or null if this service has no such method. |
com.google.common.collect.ImmutableList<Rpc> |
rpcs() |
ProtoType |
type() |
public Location location()
public ProtoType type()
public String documentation()
public String name()
public com.google.common.collect.ImmutableList<Rpc> rpcs()
public Rpc rpc(String name)
name
, or null if this service has no such method.public Options options()
Copyright © 2013–2016 Square, Inc.. All rights reserved.