Class SipTrunksGrpc.SipTrunksBlockingStub (4.61.0)

public static final class SipTrunksGrpc.SipTrunksBlockingStub extends AbstractBlockingStub<SipTrunksGrpc.SipTrunksBlockingStub>

A stub to allow clients to do synchronous rpc calls to service SipTrunks.

Service for managing SipTrunks.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > SipTrunksGrpc.SipTrunksBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

createSipTrunk(CreateSipTrunkRequest request)

public SipTrunk createSipTrunk(CreateSipTrunkRequest request)

Creates a SipTrunk for a specified location.

Parameter
Name Description
request CreateSipTrunkRequest
Returns
Type Description
SipTrunk

deleteSipTrunk(DeleteSipTrunkRequest request)

public Empty deleteSipTrunk(DeleteSipTrunkRequest request)

Deletes a specified SipTrunk.

Parameter
Name Description
request DeleteSipTrunkRequest
Returns
Type Description
Empty

getSipTrunk(GetSipTrunkRequest request)

public SipTrunk getSipTrunk(GetSipTrunkRequest request)

Retrieves the specified SipTrunk.

Parameter
Name Description
request GetSipTrunkRequest
Returns
Type Description
SipTrunk

listSipTrunks(ListSipTrunksRequest request)

public ListSipTrunksResponse listSipTrunks(ListSipTrunksRequest request)

Returns a list of SipTrunks in the specified location.

Parameter
Name Description
request ListSipTrunksRequest
Returns
Type Description
ListSipTrunksResponse

updateSipTrunk(UpdateSipTrunkRequest request)

public SipTrunk updateSipTrunk(UpdateSipTrunkRequest request)

Updates the specified SipTrunk.

Parameter
Name Description
request UpdateSipTrunkRequest
Returns
Type Description
SipTrunk