Class GrpcLivestreamServiceStub (0.11.0)

public class GrpcLivestreamServiceStub extends LivestreamServiceStub

gRPC stub implementation for the LivestreamService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > LivestreamServiceStub > GrpcLivestreamServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcLivestreamServiceStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcLivestreamServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns Exceptions
TypeDescription
IOException

create(LivestreamServiceStubSettings settings)

public static final GrpcLivestreamServiceStub create(LivestreamServiceStubSettings settings)
Parameter
NameDescription
settingsLivestreamServiceStubSettings
Returns Exceptions
TypeDescription
IOException

Constructors

GrpcLivestreamServiceStub(LivestreamServiceStubSettings settings, ClientContext clientContext)

protected GrpcLivestreamServiceStub(LivestreamServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcLivestreamServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
NameDescription
settingsLivestreamServiceStubSettings
clientContextClientContext

GrpcLivestreamServiceStub(LivestreamServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcLivestreamServiceStub(LivestreamServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcLivestreamServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
NameDescription
settingsLivestreamServiceStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createChannelCallable()

public UnaryCallable<CreateChannelRequest,Operation> createChannelCallable()
Returns Overrides

createChannelOperationCallable()

public OperationCallable<CreateChannelRequest,Channel,OperationMetadata> createChannelOperationCallable()
Returns Overrides

createEventCallable()

public UnaryCallable<CreateEventRequest,Event> createEventCallable()
Returns Overrides

createInputCallable()

public UnaryCallable<CreateInputRequest,Operation> createInputCallable()
Returns Overrides

createInputOperationCallable()

public OperationCallable<CreateInputRequest,Input,OperationMetadata> createInputOperationCallable()
Returns Overrides

deleteChannelCallable()

public UnaryCallable<DeleteChannelRequest,Operation> deleteChannelCallable()
Returns Overrides

deleteChannelOperationCallable()

public OperationCallable<DeleteChannelRequest,Empty,OperationMetadata> deleteChannelOperationCallable()
Returns Overrides

deleteEventCallable()

public UnaryCallable<DeleteEventRequest,Empty> deleteEventCallable()
Returns Overrides

deleteInputCallable()

public UnaryCallable<DeleteInputRequest,Operation> deleteInputCallable()
Returns Overrides

deleteInputOperationCallable()

public OperationCallable<DeleteInputRequest,Empty,OperationMetadata> deleteInputOperationCallable()
Returns Overrides

getChannelCallable()

public UnaryCallable<GetChannelRequest,Channel> getChannelCallable()
Returns Overrides

getEventCallable()

public UnaryCallable<GetEventRequest,Event> getEventCallable()
Returns Overrides

getInputCallable()

public UnaryCallable<GetInputRequest,Input> getInputCallable()
Returns Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listChannelsCallable()

public UnaryCallable<ListChannelsRequest,ListChannelsResponse> listChannelsCallable()
Returns Overrides

listChannelsPagedCallable()

public UnaryCallable<ListChannelsRequest,LivestreamServiceClient.ListChannelsPagedResponse> listChannelsPagedCallable()
Returns Overrides

listEventsCallable()

public UnaryCallable<ListEventsRequest,ListEventsResponse> listEventsCallable()
Returns Overrides

listEventsPagedCallable()

public UnaryCallable<ListEventsRequest,LivestreamServiceClient.ListEventsPagedResponse> listEventsPagedCallable()
Returns Overrides

listInputsCallable()

public UnaryCallable<ListInputsRequest,ListInputsResponse> listInputsCallable()
Returns Overrides

listInputsPagedCallable()

public UnaryCallable<ListInputsRequest,LivestreamServiceClient.ListInputsPagedResponse> listInputsPagedCallable()
Returns Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

startChannelCallable()

public UnaryCallable<StartChannelRequest,Operation> startChannelCallable()
Returns Overrides

startChannelOperationCallable()

public OperationCallable<StartChannelRequest,ChannelOperationResponse,OperationMetadata> startChannelOperationCallable()
Returns Overrides

stopChannelCallable()

public UnaryCallable<StopChannelRequest,Operation> stopChannelCallable()
Returns Overrides

stopChannelOperationCallable()

public OperationCallable<StopChannelRequest,ChannelOperationResponse,OperationMetadata> stopChannelOperationCallable()
Returns Overrides

updateChannelCallable()

public UnaryCallable<UpdateChannelRequest,Operation> updateChannelCallable()
Returns Overrides

updateChannelOperationCallable()

public OperationCallable<UpdateChannelRequest,Channel,OperationMetadata> updateChannelOperationCallable()
Returns Overrides

updateInputCallable()

public UnaryCallable<UpdateInputRequest,Operation> updateInputCallable()
Returns Overrides

updateInputOperationCallable()

public OperationCallable<UpdateInputRequest,Input,OperationMetadata> updateInputOperationCallable()
Returns Overrides