Class LivestreamServiceGrpc.LivestreamServiceFutureStub (0.51.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateAssetRequest
Returns
Type Description
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
Name Description
request CreateChannelRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createClip(CreateClipRequest request)

public ListenableFuture<Operation> createClip(CreateClipRequest request)

Creates a clip with the provided clip ID in the specified channel.

Parameter
Name Description
request CreateClipRequest
Returns
Type Description
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
Name Description
request CreateEventRequest
Returns
Type Description
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
Name Description
request CreateInputRequest
Returns
Type Description
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
Name Description
request DeleteAssetRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteChannel(DeleteChannelRequest request)

public ListenableFuture<Operation> deleteChannel(DeleteChannelRequest request)

Deletes the specified channel.

Parameter
Name Description
request DeleteChannelRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteClip(DeleteClipRequest request)

public ListenableFuture<Operation> deleteClip(DeleteClipRequest request)

Deletes the specified clip job resource. This method only deletes the clip job and does not delete the VOD clip stored in the GCS.

Parameter
Name Description
request DeleteClipRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteEvent(DeleteEventRequest request)

public ListenableFuture<Empty> deleteEvent(DeleteEventRequest request)

Deletes the specified event.

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

deleteInput(DeleteInputRequest request)

public ListenableFuture<Operation> deleteInput(DeleteInputRequest request)

Deletes the specified input.

Parameter
Name Description
request DeleteInputRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

getAsset(GetAssetRequest request)

public ListenableFuture<Asset> getAsset(GetAssetRequest request)

Returns the specified asset.

Parameter
Name Description
request GetAssetRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Asset>

getChannel(GetChannelRequest request)

public ListenableFuture<Channel> getChannel(GetChannelRequest request)

Returns the specified channel.

Parameter
Name Description
request GetChannelRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Channel>

getClip(GetClipRequest request)

public ListenableFuture<Clip> getClip(GetClipRequest request)

Returns the specified clip.

Parameter
Name Description
request GetClipRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Clip>

getEvent(GetEventRequest request)

public ListenableFuture<Event> getEvent(GetEventRequest request)

Returns the specified event.

Parameter
Name Description
request GetEventRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Event>

getInput(GetInputRequest request)

public ListenableFuture<Input> getInput(GetInputRequest request)

Returns the specified input.

Parameter
Name Description
request GetInputRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Input>

getPool(GetPoolRequest request)

public ListenableFuture<Pool> getPool(GetPoolRequest request)

Returns the specified pool.

Parameter
Name Description
request GetPoolRequest
Returns
Type Description
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
Name Description
request ListAssetsRequest
Returns
Type Description
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
Name Description
request ListChannelsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListChannelsResponse>

listClips(ListClipsRequest request)

public ListenableFuture<ListClipsResponse> listClips(ListClipsRequest request)

Returns a list of all clips in the specified channel.

Parameter
Name Description
request ListClipsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListClipsResponse>

listEvents(ListEventsRequest request)

public ListenableFuture<ListEventsResponse> listEvents(ListEventsRequest request)

Returns a list of all events in the specified channel.

Parameter
Name Description
request ListEventsRequest
Returns
Type Description
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
Name Description
request ListInputsRequest
Returns
Type Description
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
Name Description
request StartChannelRequest
Returns
Type Description
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
Name Description
request StopChannelRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateChannel(UpdateChannelRequest request)

public ListenableFuture<Operation> updateChannel(UpdateChannelRequest request)

Updates the specified channel.

Parameter
Name Description
request UpdateChannelRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateInput(UpdateInputRequest request)

public ListenableFuture<Operation> updateInput(UpdateInputRequest request)

Updates the specified input.

Parameter
Name Description
request UpdateInputRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updatePool(UpdatePoolRequest request)

public ListenableFuture<Operation> updatePool(UpdatePoolRequest request)

Updates the specified pool.

Parameter
Name Description
request UpdatePoolRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>