Class HttpJsonNodeTypesStub (1.55.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
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonNodeTypesStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonNodeTypesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonNodeTypesStub
Exceptions
Type Description
IOException

create(NodeTypesStubSettings settings)

public static final HttpJsonNodeTypesStub create(NodeTypesStubSettings settings)
Parameter
Name Description
settings NodeTypesStubSettings
Returns
Type Description
HttpJsonNodeTypesStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
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
Name Description
settings NodeTypesStubSettings
clientContext ClientContext

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
Name Description
settings NodeTypesStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

aggregatedListCallable()

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

aggregatedListPagedCallable()

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

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

getCallable()

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

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCallable()

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

listPagedCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()