Class SipTrunksGrpc.SipTrunksStub (4.61.0)

public static final class SipTrunksGrpc.SipTrunksStub extends AbstractAsyncStub<SipTrunksGrpc.SipTrunksStub>

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

Service for managing SipTrunks.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > SipTrunksGrpc.SipTrunksStub

Methods

build(Channel channel, CallOptions callOptions)

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

createSipTrunk(CreateSipTrunkRequest request, StreamObserver<SipTrunk> responseObserver)

public void createSipTrunk(CreateSipTrunkRequest request, StreamObserver<SipTrunk> responseObserver)

Creates a SipTrunk for a specified location.

Parameters
Name Description
request CreateSipTrunkRequest
responseObserver io.grpc.stub.StreamObserver<SipTrunk>

deleteSipTrunk(DeleteSipTrunkRequest request, StreamObserver<Empty> responseObserver)

public void deleteSipTrunk(DeleteSipTrunkRequest request, StreamObserver<Empty> responseObserver)

Deletes a specified SipTrunk.

Parameters
Name Description
request DeleteSipTrunkRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

getSipTrunk(GetSipTrunkRequest request, StreamObserver<SipTrunk> responseObserver)

public void getSipTrunk(GetSipTrunkRequest request, StreamObserver<SipTrunk> responseObserver)

Retrieves the specified SipTrunk.

Parameters
Name Description
request GetSipTrunkRequest
responseObserver io.grpc.stub.StreamObserver<SipTrunk>

listSipTrunks(ListSipTrunksRequest request, StreamObserver<ListSipTrunksResponse> responseObserver)

public void listSipTrunks(ListSipTrunksRequest request, StreamObserver<ListSipTrunksResponse> responseObserver)

Returns a list of SipTrunks in the specified location.

Parameters
Name Description
request ListSipTrunksRequest
responseObserver io.grpc.stub.StreamObserver<ListSipTrunksResponse>

updateSipTrunk(UpdateSipTrunkRequest request, StreamObserver<SipTrunk> responseObserver)

public void updateSipTrunk(UpdateSipTrunkRequest request, StreamObserver<SipTrunk> responseObserver)

Updates the specified SipTrunk.

Parameters
Name Description
request UpdateSipTrunkRequest
responseObserver io.grpc.stub.StreamObserver<SipTrunk>