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)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonLivestreamServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(LivestreamServiceStubSettings settings)
public static final HttpJsonLivestreamServiceStub create(LivestreamServiceStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
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.
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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createAssetCallable()
public UnaryCallable<CreateAssetRequest,Operation> createAssetCallable()
Overrides
createAssetOperationCallable()
public OperationCallable<CreateAssetRequest,Asset,OperationMetadata> createAssetOperationCallable()
Overrides
createChannelCallable()
public UnaryCallable<CreateChannelRequest,Operation> createChannelCallable()
Overrides
createChannelOperationCallable()
public OperationCallable<CreateChannelRequest,Channel,OperationMetadata> createChannelOperationCallable()
Overrides
createEventCallable()
public UnaryCallable<CreateEventRequest,Event> createEventCallable()
Overrides
public UnaryCallable<CreateInputRequest,Operation> createInputCallable()
Overrides
public OperationCallable<CreateInputRequest,Input,OperationMetadata> createInputOperationCallable()
Overrides
deleteAssetCallable()
public UnaryCallable<DeleteAssetRequest,Operation> deleteAssetCallable()
Overrides
deleteAssetOperationCallable()
public OperationCallable<DeleteAssetRequest,Empty,OperationMetadata> deleteAssetOperationCallable()
Overrides
deleteChannelCallable()
public UnaryCallable<DeleteChannelRequest,Operation> deleteChannelCallable()
Overrides
deleteChannelOperationCallable()
public OperationCallable<DeleteChannelRequest,Empty,OperationMetadata> deleteChannelOperationCallable()
Overrides
deleteEventCallable()
public UnaryCallable<DeleteEventRequest,Empty> deleteEventCallable()
Overrides
public UnaryCallable<DeleteInputRequest,Operation> deleteInputCallable()
Overrides
public OperationCallable<DeleteInputRequest,Empty,OperationMetadata> deleteInputOperationCallable()
Overrides
getAssetCallable()
public UnaryCallable<GetAssetRequest,Asset> getAssetCallable()
Overrides
getChannelCallable()
public UnaryCallable<GetChannelRequest,Channel> getChannelCallable()
Overrides
getEventCallable()
public UnaryCallable<GetEventRequest,Event> getEventCallable()
Overrides
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Overrides
public UnaryCallable<GetInputRequest,Input> getInputCallable()
Overrides
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns |
---|
Type | Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> | |
Overrides
getPoolCallable()
public UnaryCallable<GetPoolRequest,Pool> getPoolCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listAssetsCallable()
public UnaryCallable<ListAssetsRequest,ListAssetsResponse> listAssetsCallable()
Overrides
listAssetsPagedCallable()
public UnaryCallable<ListAssetsRequest,LivestreamServiceClient.ListAssetsPagedResponse> listAssetsPagedCallable()
Overrides
listChannelsCallable()
public UnaryCallable<ListChannelsRequest,ListChannelsResponse> listChannelsCallable()
Overrides
listChannelsPagedCallable()
public UnaryCallable<ListChannelsRequest,LivestreamServiceClient.ListChannelsPagedResponse> listChannelsPagedCallable()
Overrides
listEventsCallable()
public UnaryCallable<ListEventsRequest,ListEventsResponse> listEventsCallable()
Overrides
listEventsPagedCallable()
public UnaryCallable<ListEventsRequest,LivestreamServiceClient.ListEventsPagedResponse> listEventsPagedCallable()
Overrides
public UnaryCallable<ListInputsRequest,ListInputsResponse> listInputsCallable()
Overrides
listInputsPagedCallable()
public UnaryCallable<ListInputsRequest,LivestreamServiceClient.ListInputsPagedResponse> listInputsPagedCallable()
Overrides
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns |
---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> | |
Overrides
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,LivestreamServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
startChannelCallable()
public UnaryCallable<StartChannelRequest,Operation> startChannelCallable()
Overrides
startChannelOperationCallable()
public OperationCallable<StartChannelRequest,ChannelOperationResponse,OperationMetadata> startChannelOperationCallable()
Overrides
stopChannelCallable()
public UnaryCallable<StopChannelRequest,Operation> stopChannelCallable()
Overrides
stopChannelOperationCallable()
public OperationCallable<StopChannelRequest,ChannelOperationResponse,OperationMetadata> stopChannelOperationCallable()
Overrides
updateChannelCallable()
public UnaryCallable<UpdateChannelRequest,Operation> updateChannelCallable()
Overrides
updateChannelOperationCallable()
public OperationCallable<UpdateChannelRequest,Channel,OperationMetadata> updateChannelOperationCallable()
Overrides
public UnaryCallable<UpdateInputRequest,Operation> updateInputCallable()
Overrides
public OperationCallable<UpdateInputRequest,Input,OperationMetadata> updateInputOperationCallable()
Overrides
updatePoolCallable()
public UnaryCallable<UpdatePoolRequest,Operation> updatePoolCallable()
Overrides
updatePoolOperationCallable()
public OperationCallable<UpdatePoolRequest,Pool,OperationMetadata> updatePoolOperationCallable()
Overrides