Class HttpJsonNodeTypesStub (1.28.0)

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.

Inheritance

java.lang.Object > NodeTypesStub > HttpJsonNodeTypesStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonNodeTypesStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonNodeTypesStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonNodeTypesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonNodeTypesStub
Exceptions
TypeDescription
IOException

create(NodeTypesStubSettings settings)

public static final HttpJsonNodeTypesStub create(NodeTypesStubSettings settings)
Parameter
NameDescription
settingsNodeTypesStubSettings
Returns
TypeDescription
HttpJsonNodeTypesStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

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.

Parameters
NameDescription
settingsNodeTypesStubSettings
clientContextClientContext

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.

Parameters
NameDescription
settingsNodeTypesStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

aggregatedListCallable()

public UnaryCallable<AggregatedListNodeTypesRequest,NodeTypeAggregatedList> aggregatedListCallable()
Returns
TypeDescription
UnaryCallable<AggregatedListNodeTypesRequest,NodeTypeAggregatedList>
Overrides

aggregatedListPagedCallable()

public UnaryCallable<AggregatedListNodeTypesRequest,NodeTypesClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Returns
TypeDescription
UnaryCallable<AggregatedListNodeTypesRequest,AggregatedListPagedResponse>
Overrides

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

getCallable()

public UnaryCallable<GetNodeTypeRequest,NodeType> getCallable()
Returns
TypeDescription
UnaryCallable<GetNodeTypeRequest,NodeType>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

public UnaryCallable<ListNodeTypesRequest,NodeTypeList> listCallable()
Returns
TypeDescription
UnaryCallable<ListNodeTypesRequest,NodeTypeList>
Overrides

listPagedCallable()

public UnaryCallable<ListNodeTypesRequest,NodeTypesClient.ListPagedResponse> listPagedCallable()
Returns
TypeDescription
UnaryCallable<ListNodeTypesRequest,ListPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()