Class HttpJsonInterconnectsStub (1.52.0)

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.

Inheritance

java.lang.Object > InterconnectsStub > HttpJsonInterconnectsStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonInterconnectsStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonInterconnectsStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonInterconnectsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonInterconnectsStub
Exceptions
Type Description
IOException

create(InterconnectsStubSettings settings)

public static final HttpJsonInterconnectsStub create(InterconnectsStubSettings settings)
Parameter
Name Description
settings InterconnectsStubSettings
Returns
Type Description
HttpJsonInterconnectsStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

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
Name Description
settings InterconnectsStubSettings
clientContext ClientContext

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
Name Description
settings InterconnectsStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

deleteCallable()

public UnaryCallable<DeleteInterconnectRequest,Operation> deleteCallable()
Returns
Type Description
UnaryCallable<DeleteInterconnectRequest,Operation>
Overrides

deleteOperationCallable()

public OperationCallable<DeleteInterconnectRequest,Operation,Operation> deleteOperationCallable()
Returns
Type Description
OperationCallable<DeleteInterconnectRequest,Operation,Operation>
Overrides

getCallable()

public UnaryCallable<GetInterconnectRequest,Interconnect> getCallable()
Returns
Type Description
UnaryCallable<GetInterconnectRequest,Interconnect>
Overrides

getDiagnosticsCallable()

public UnaryCallable<GetDiagnosticsInterconnectRequest,InterconnectsGetDiagnosticsResponse> getDiagnosticsCallable()
Returns
Type Description
UnaryCallable<GetDiagnosticsInterconnectRequest,InterconnectsGetDiagnosticsResponse>
Overrides

getMacsecConfigCallable()

public UnaryCallable<GetMacsecConfigInterconnectRequest,InterconnectsGetMacsecConfigResponse> getMacsecConfigCallable()
Returns
Type Description
UnaryCallable<GetMacsecConfigInterconnectRequest,InterconnectsGetMacsecConfigResponse>
Overrides

insertCallable()

public UnaryCallable<InsertInterconnectRequest,Operation> insertCallable()
Returns
Type Description
UnaryCallable<InsertInterconnectRequest,Operation>
Overrides

insertOperationCallable()

public OperationCallable<InsertInterconnectRequest,Operation,Operation> insertOperationCallable()
Returns
Type Description
OperationCallable<InsertInterconnectRequest,Operation,Operation>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCallable()

public UnaryCallable<ListInterconnectsRequest,InterconnectList> listCallable()
Returns
Type Description
UnaryCallable<ListInterconnectsRequest,InterconnectList>
Overrides

listPagedCallable()

public UnaryCallable<ListInterconnectsRequest,InterconnectsClient.ListPagedResponse> listPagedCallable()
Returns
Type Description
UnaryCallable<ListInterconnectsRequest,ListPagedResponse>
Overrides

patchCallable()

public UnaryCallable<PatchInterconnectRequest,Operation> patchCallable()
Returns
Type Description
UnaryCallable<PatchInterconnectRequest,Operation>
Overrides

patchOperationCallable()

public OperationCallable<PatchInterconnectRequest,Operation,Operation> patchOperationCallable()
Returns
Type Description
OperationCallable<PatchInterconnectRequest,Operation,Operation>
Overrides

setLabelsCallable()

public UnaryCallable<SetLabelsInterconnectRequest,Operation> setLabelsCallable()
Returns
Type Description
UnaryCallable<SetLabelsInterconnectRequest,Operation>
Overrides

setLabelsOperationCallable()

public OperationCallable<SetLabelsInterconnectRequest,Operation,Operation> setLabelsOperationCallable()
Returns
Type Description
OperationCallable<SetLabelsInterconnectRequest,Operation,Operation>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()