public class HttpJsonLivestreamServiceStub extends LivestreamServiceStub
REST stub implementation for the LivestreamService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonLivestreamServiceStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonLivestreamServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(LivestreamServiceStubSettings settings)
public static final HttpJsonLivestreamServiceStub create(LivestreamServiceStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Constructors
HttpJsonLivestreamServiceStub(LivestreamServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonLivestreamServiceStub(LivestreamServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonLivestreamServiceStub, 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
HttpJsonLivestreamServiceStub(LivestreamServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonLivestreamServiceStub(LivestreamServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonLivestreamServiceStub, 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
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
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
public UnaryCallable<CreateInputRequest,Operation> createInputCallable()
Returns
Overrides
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
public UnaryCallable<DeleteInputRequest,Operation> deleteInputCallable()
Returns
Overrides
public OperationCallable<DeleteInputRequest,Empty,OperationMetadata> deleteInputOperationCallable()
Returns
Overrides
getChannelCallable()
public UnaryCallable<GetChannelRequest,Channel> getChannelCallable()
Returns
Overrides
getEventCallable()
public UnaryCallable<GetEventRequest,Event> getEventCallable()
Returns
Overrides
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Overrides
public UnaryCallable<GetInputRequest,Input> getInputCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
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
public UnaryCallable<ListInputsRequest,ListInputsResponse> listInputsCallable()
Returns
Overrides
listInputsPagedCallable()
public UnaryCallable<ListInputsRequest,LivestreamServiceClient.ListInputsPagedResponse> listInputsPagedCallable()
Returns
Overrides
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
public UnaryCallable<UpdateInputRequest,Operation> updateInputCallable()
Returns
Overrides
public OperationCallable<UpdateInputRequest,Input,OperationMetadata> updateInputOperationCallable()
Returns
Overrides