Class LivestreamServiceGrpc.LivestreamServiceFutureStub (0.31.0)

public static final class LivestreamServiceGrpc.LivestreamServiceFutureStub extends AbstractFutureStub<LivestreamServiceGrpc.LivestreamServiceFutureStub>

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

Using Live Stream API, you can generate live streams in the various renditions and streaming formats. The streaming format include HTTP Live Streaming (HLS) and Dynamic Adaptive Streaming over HTTP (DASH). You can send a source stream in the various ways, including Real-Time Messaging Protocol (RTMP) and Secure Reliable Transport (SRT).

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > LivestreamServiceGrpc.LivestreamServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected LivestreamServiceGrpc.LivestreamServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
LivestreamServiceGrpc.LivestreamServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createAsset(CreateAssetRequest request)

public ListenableFuture<Operation> createAsset(CreateAssetRequest request)

Creates a Asset with the provided unique ID in the specified region.

Parameter
NameDescription
requestCreateAssetRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createChannel(CreateChannelRequest request)

public ListenableFuture<Operation> createChannel(CreateChannelRequest request)

Creates a channel with the provided unique ID in the specified region.

Parameter
NameDescription
requestCreateChannelRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createEvent(CreateEventRequest request)

public ListenableFuture<Event> createEvent(CreateEventRequest request)

Creates an event with the provided unique ID in the specified channel.

Parameter
NameDescription
requestCreateEventRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Event>

createInput(CreateInputRequest request)

public ListenableFuture<Operation> createInput(CreateInputRequest request)

Creates an input with the provided unique ID in the specified region.

Parameter
NameDescription
requestCreateInputRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteAsset(DeleteAssetRequest request)

public ListenableFuture<Operation> deleteAsset(DeleteAssetRequest request)

Deletes the specified asset if it is not used.

Parameter
NameDescription
requestDeleteAssetRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteChannel(DeleteChannelRequest request)

public ListenableFuture<Operation> deleteChannel(DeleteChannelRequest request)

Deletes the specified channel.

Parameter
NameDescription
requestDeleteChannelRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteEvent(DeleteEventRequest request)

public ListenableFuture<Empty> deleteEvent(DeleteEventRequest request)

Deletes the specified event.

Parameter
NameDescription
requestDeleteEventRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>

deleteInput(DeleteInputRequest request)

public ListenableFuture<Operation> deleteInput(DeleteInputRequest request)

Deletes the specified input.

Parameter
NameDescription
requestDeleteInputRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

getAsset(GetAssetRequest request)

public ListenableFuture<Asset> getAsset(GetAssetRequest request)

Returns the specified asset.

Parameter
NameDescription
requestGetAssetRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Asset>

getChannel(GetChannelRequest request)

public ListenableFuture<Channel> getChannel(GetChannelRequest request)

Returns the specified channel.

Parameter
NameDescription
requestGetChannelRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Channel>

getEvent(GetEventRequest request)

public ListenableFuture<Event> getEvent(GetEventRequest request)

Returns the specified event.

Parameter
NameDescription
requestGetEventRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Event>

getInput(GetInputRequest request)

public ListenableFuture<Input> getInput(GetInputRequest request)

Returns the specified input.

Parameter
NameDescription
requestGetInputRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Input>

getPool(GetPoolRequest request)

public ListenableFuture<Pool> getPool(GetPoolRequest request)

Returns the specified pool.

Parameter
NameDescription
requestGetPoolRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Pool>

listAssets(ListAssetsRequest request)

public ListenableFuture<ListAssetsResponse> listAssets(ListAssetsRequest request)

Returns a list of all assets in the specified region.

Parameter
NameDescription
requestListAssetsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListAssetsResponse>

listChannels(ListChannelsRequest request)

public ListenableFuture<ListChannelsResponse> listChannels(ListChannelsRequest request)

Returns a list of all channels in the specified region.

Parameter
NameDescription
requestListChannelsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListChannelsResponse>

listEvents(ListEventsRequest request)

public ListenableFuture<ListEventsResponse> listEvents(ListEventsRequest request)

Returns a list of all events in the specified channel.

Parameter
NameDescription
requestListEventsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListEventsResponse>

listInputs(ListInputsRequest request)

public ListenableFuture<ListInputsResponse> listInputs(ListInputsRequest request)

Returns a list of all inputs in the specified region.

Parameter
NameDescription
requestListInputsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListInputsResponse>

startChannel(StartChannelRequest request)

public ListenableFuture<Operation> startChannel(StartChannelRequest request)

Starts the specified channel. Part of the video pipeline will be created only when the StartChannel request is received by the server.

Parameter
NameDescription
requestStartChannelRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

stopChannel(StopChannelRequest request)

public ListenableFuture<Operation> stopChannel(StopChannelRequest request)

Stops the specified channel. Part of the video pipeline will be released when the StopChannel request is received by the server.

Parameter
NameDescription
requestStopChannelRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateChannel(UpdateChannelRequest request)

public ListenableFuture<Operation> updateChannel(UpdateChannelRequest request)

Updates the specified channel.

Parameter
NameDescription
requestUpdateChannelRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateInput(UpdateInputRequest request)

public ListenableFuture<Operation> updateInput(UpdateInputRequest request)

Updates the specified input.

Parameter
NameDescription
requestUpdateInputRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updatePool(UpdatePoolRequest request)

public ListenableFuture<Operation> updatePool(UpdatePoolRequest request)

Updates the specified pool.

Parameter
NameDescription
requestUpdatePoolRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>