@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 com.google.api.gax.httpjson.ApiMethodDescriptor<GetInterconnectLocationHttpRequest,InterconnectLocation> |
getInterconnectLocationMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<ListInterconnectLocationsHttpRequest,InterconnectLocationList> |
listInterconnectLocationsMethodDescriptor |
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonInterconnectLocationStub(InterconnectLocationStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonInterconnectLocationStub, using the given settings.
|
protected |
HttpJsonInterconnectLocationStub(InterconnectLocationStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonInterconnectLocationStub, using the given settings.
|
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<GetInterconnectLocationHttpRequest,InterconnectLocation> getInterconnectLocationMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<ListInterconnectLocationsHttpRequest,InterconnectLocationList> listInterconnectLocationsMethodDescriptor
protected HttpJsonInterconnectLocationStub(InterconnectLocationStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected HttpJsonInterconnectLocationStub(InterconnectLocationStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonInterconnectLocationStub create(InterconnectLocationStubSettings settings) throws IOException
IOException
public static final HttpJsonInterconnectLocationStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final HttpJsonInterconnectLocationStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@BetaApi public com.google.api.gax.rpc.UnaryCallable<GetInterconnectLocationHttpRequest,InterconnectLocation> getInterconnectLocationCallable()
getInterconnectLocationCallable
in class InterconnectLocationStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<ListInterconnectLocationsHttpRequest,InterconnectLocationClient.ListInterconnectLocationsPagedResponse> listInterconnectLocationsPagedCallable()
listInterconnectLocationsPagedCallable
in class InterconnectLocationStub
@BetaApi public com.google.api.gax.rpc.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.