public class HttpJsonInterconnectRemoteLocationsStub extends InterconnectRemoteLocationsStub
REST stub implementation for the InterconnectRemoteLocations service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonInterconnectRemoteLocationsStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonInterconnectRemoteLocationsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(InterconnectRemoteLocationsStubSettings settings)
public static final HttpJsonInterconnectRemoteLocationsStub create(InterconnectRemoteLocationsStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonInterconnectRemoteLocationsStub(InterconnectRemoteLocationsStubSettings settings, ClientContext clientContext)
protected HttpJsonInterconnectRemoteLocationsStub(InterconnectRemoteLocationsStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonInterconnectRemoteLocationsStub, 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.
HttpJsonInterconnectRemoteLocationsStub(InterconnectRemoteLocationsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonInterconnectRemoteLocationsStub(InterconnectRemoteLocationsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonInterconnectRemoteLocationsStub, 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
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
getCallable()
public UnaryCallable<GetInterconnectRemoteLocationRequest,InterconnectRemoteLocation> getCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listCallable()
public UnaryCallable<ListInterconnectRemoteLocationsRequest,InterconnectRemoteLocationList> listCallable()
Overrides
listPagedCallable()
public UnaryCallable<ListInterconnectRemoteLocationsRequest,InterconnectRemoteLocationsClient.ListPagedResponse> listPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()