public abstract class RpcElement extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
RpcElement.Builder |
Constructor and Description |
---|
RpcElement() |
Modifier and Type | Method and Description |
---|---|
static RpcElement.Builder |
builder(Location location) |
abstract String |
documentation() |
abstract Location |
location() |
abstract String |
name() |
abstract com.google.common.collect.ImmutableList<OptionElement> |
options() |
abstract boolean |
requestStreaming() |
abstract String |
requestType() |
abstract boolean |
responseStreaming() |
abstract String |
responseType() |
String |
toSchema() |
public static RpcElement.Builder builder(Location location)
public abstract Location location()
public abstract String name()
public abstract String documentation()
public abstract String requestType()
public abstract String responseType()
public abstract boolean requestStreaming()
public abstract boolean responseStreaming()
public abstract com.google.common.collect.ImmutableList<OptionElement> options()
public final String toSchema()
Copyright © 2013–2016 Square, Inc.. All rights reserved.