@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class HttpJsonInterconnectLocationStub extends InterconnectLocationStub
This class is for advanced usage and reflects the underlying API directly.
Modifier and Type | Field and Description |
---|---|
static ApiMethodDescriptor<GetInterconnectLocationHttpRequest,InterconnectLocation> |
getInterconnectLocationMethodDescriptor |
static ApiMethodDescriptor<ListInterconnectLocationsHttpRequest,InterconnectLocationList> |
listInterconnectLocationsMethodDescriptor |
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonInterconnectLocationStub(InterconnectLocationStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonInterconnectLocationStub, using the given settings.
|
protected |
HttpJsonInterconnectLocationStub(InterconnectLocationStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonInterconnectLocationStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonInterconnectLocationStub |
create(ClientContext clientContext) |
static HttpJsonInterconnectLocationStub |
create(ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory) |
static HttpJsonInterconnectLocationStub |
create(InterconnectLocationStubSettings settings) |
UnaryCallable<GetInterconnectLocationHttpRequest,InterconnectLocation> |
getInterconnectLocationCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
UnaryCallable<ListInterconnectLocationsHttpRequest,InterconnectLocationList> |
listInterconnectLocationsCallable() |
UnaryCallable<ListInterconnectLocationsHttpRequest,InterconnectLocationClient.ListInterconnectLocationsPagedResponse> |
listInterconnectLocationsPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
@InternalApi public static final ApiMethodDescriptor<GetInterconnectLocationHttpRequest,InterconnectLocation> getInterconnectLocationMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<ListInterconnectLocationsHttpRequest,InterconnectLocationList> listInterconnectLocationsMethodDescriptor
protected HttpJsonInterconnectLocationStub(InterconnectLocationStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonInterconnectLocationStub(InterconnectLocationStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonInterconnectLocationStub create(InterconnectLocationStubSettings settings) throws IOException
IOException
public static final HttpJsonInterconnectLocationStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonInterconnectLocationStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@BetaApi public UnaryCallable<GetInterconnectLocationHttpRequest,InterconnectLocation> getInterconnectLocationCallable()
getInterconnectLocationCallable
in class InterconnectLocationStub
@BetaApi public UnaryCallable<ListInterconnectLocationsHttpRequest,InterconnectLocationClient.ListInterconnectLocationsPagedResponse> listInterconnectLocationsPagedCallable()
listInterconnectLocationsPagedCallable
in class InterconnectLocationStub
@BetaApi public UnaryCallable<ListInterconnectLocationsHttpRequest,InterconnectLocationList> listInterconnectLocationsCallable()
listInterconnectLocationsCallable
in class InterconnectLocationStub
public final void close()
close
in interface AutoCloseable
close
in class InterconnectLocationStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.