Class SipTrunksGrpc.SipTrunksFutureStub (4.60.0)

public static final class SipTrunksGrpc.SipTrunksFutureStub extends AbstractFutureStub<SipTrunksGrpc.SipTrunksFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service SipTrunks.

Service for managing SipTrunks.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > SipTrunksGrpc.SipTrunksFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected SipTrunksGrpc.SipTrunksFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
SipTrunksGrpc.SipTrunksFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createSipTrunk(CreateSipTrunkRequest request)

public ListenableFuture<SipTrunk> createSipTrunk(CreateSipTrunkRequest request)

Creates a SipTrunk for a specified location.

Parameter
Name Description
request CreateSipTrunkRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<SipTrunk>

deleteSipTrunk(DeleteSipTrunkRequest request)

public ListenableFuture<Empty> deleteSipTrunk(DeleteSipTrunkRequest request)

Deletes a specified SipTrunk.

Parameter
Name Description
request DeleteSipTrunkRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

getSipTrunk(GetSipTrunkRequest request)

public ListenableFuture<SipTrunk> getSipTrunk(GetSipTrunkRequest request)

Retrieves the specified SipTrunk.

Parameter
Name Description
request GetSipTrunkRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<SipTrunk>

listSipTrunks(ListSipTrunksRequest request)

public ListenableFuture<ListSipTrunksResponse> listSipTrunks(ListSipTrunksRequest request)

Returns a list of SipTrunks in the specified location.

Parameter
Name Description
request ListSipTrunksRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListSipTrunksResponse>

updateSipTrunk(UpdateSipTrunkRequest request)

public ListenableFuture<SipTrunk> updateSipTrunk(UpdateSipTrunkRequest request)

Updates the specified SipTrunk.

Parameter
Name Description
request UpdateSipTrunkRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<SipTrunk>