public class HttpJsonInterconnectsStub extends InterconnectsStub
REST stub implementation for the Interconnects service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonInterconnectsStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonInterconnectsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(InterconnectsStubSettings settings)
public static final HttpJsonInterconnectsStub create(InterconnectsStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Constructors
HttpJsonInterconnectsStub(InterconnectsStubSettings settings, ClientContext clientContext)
protected HttpJsonInterconnectsStub(InterconnectsStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonInterconnectsStub, 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
HttpJsonInterconnectsStub(InterconnectsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonInterconnectsStub(InterconnectsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonInterconnectsStub, 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
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
deleteCallable()
public UnaryCallable<DeleteInterconnectRequest,Operation> deleteCallable()
Returns
Overrides
deleteOperationCallable()
public OperationCallable<DeleteInterconnectRequest,Operation,Operation> deleteOperationCallable()
Returns
Overrides
getCallable()
public UnaryCallable<GetInterconnectRequest,Interconnect> getCallable()
Returns
Overrides
getDiagnosticsCallable()
public UnaryCallable<GetDiagnosticsInterconnectRequest,InterconnectsGetDiagnosticsResponse> getDiagnosticsCallable()
Returns
Overrides
insertCallable()
public UnaryCallable<InsertInterconnectRequest,Operation> insertCallable()
Returns
Overrides
insertOperationCallable()
public OperationCallable<InsertInterconnectRequest,Operation,Operation> insertOperationCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listCallable()
public UnaryCallable<ListInterconnectsRequest,InterconnectList> listCallable()
Returns
Overrides
listPagedCallable()
public UnaryCallable<ListInterconnectsRequest,InterconnectsClient.ListPagedResponse> listPagedCallable()
Returns
Overrides
patchCallable()
public UnaryCallable<PatchInterconnectRequest,Operation> patchCallable()
Returns
Overrides
patchOperationCallable()
public OperationCallable<PatchInterconnectRequest,Operation,Operation> patchOperationCallable()
Returns
Overrides
setLabelsCallable()
public UnaryCallable<SetLabelsInterconnectRequest,Operation> setLabelsCallable()
Returns
Overrides
setLabelsOperationCallable()
public OperationCallable<SetLabelsInterconnectRequest,Operation,Operation> setLabelsOperationCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()