public class HttpJsonNodeTypesStub extends NodeTypesStub
REST stub implementation for the NodeTypes service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonNodeTypesStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonNodeTypesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(NodeTypesStubSettings settings)
public static final HttpJsonNodeTypesStub create(NodeTypesStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonNodeTypesStub(NodeTypesStubSettings settings, ClientContext clientContext)
protected HttpJsonNodeTypesStub(NodeTypesStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonNodeTypesStub, using the given settings. This is protected so
that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
HttpJsonNodeTypesStub(NodeTypesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonNodeTypesStub(NodeTypesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonNodeTypesStub, using the given settings. This is protected so
that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
Methods
aggregatedListCallable()
public UnaryCallable<AggregatedListNodeTypesRequest,NodeTypeAggregatedList> aggregatedListCallable()
Overrides
aggregatedListPagedCallable()
public UnaryCallable<AggregatedListNodeTypesRequest,NodeTypesClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
getCallable()
public UnaryCallable<GetNodeTypeRequest,NodeType> getCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listCallable()
public UnaryCallable<ListNodeTypesRequest,NodeTypeList> listCallable()
Overrides
listPagedCallable()
public UnaryCallable<ListNodeTypesRequest,NodeTypesClient.ListPagedResponse> listPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()