Class HttpJsonInterconnectRemoteLocationsStub (1.40.0)

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.

Inheritance

java.lang.Object > InterconnectRemoteLocationsStub > HttpJsonInterconnectRemoteLocationsStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(InterconnectRemoteLocationsStubSettings settings)

public static final HttpJsonInterconnectRemoteLocationsStub create(InterconnectRemoteLocationsStubSettings settings)
Parameter
NameDescription
settingsInterconnectRemoteLocationsStubSettings
Returns
TypeDescription
HttpJsonInterconnectRemoteLocationsStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

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

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.

Parameters
NameDescription
settingsInterconnectRemoteLocationsStubSettings
clientContextClientContext

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.

Parameters
NameDescription
settingsInterconnectRemoteLocationsStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

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<GetInterconnectRemoteLocationRequest,InterconnectRemoteLocation> getCallable()
Returns
TypeDescription
UnaryCallable<GetInterconnectRemoteLocationRequest,InterconnectRemoteLocation>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

public UnaryCallable<ListInterconnectRemoteLocationsRequest,InterconnectRemoteLocationList> listCallable()
Returns
TypeDescription
UnaryCallable<ListInterconnectRemoteLocationsRequest,InterconnectRemoteLocationList>
Overrides

listPagedCallable()

public UnaryCallable<ListInterconnectRemoteLocationsRequest,InterconnectRemoteLocationsClient.ListPagedResponse> listPagedCallable()
Returns
TypeDescription
UnaryCallable<ListInterconnectRemoteLocationsRequest,ListPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()