Class HttpJsonLivestreamServiceStub
java.lang.Object
com.google.cloud.video.livestream.v1.stub.LivestreamServiceStub
com.google.cloud.video.livestream.v1.stub.HttpJsonLivestreamServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
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.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonLivestreamServiceStub(LivestreamServiceStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonLivestreamServiceStub, using the given settings.protectedHttpJsonLivestreamServiceStub(LivestreamServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonLivestreamServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonLivestreamServiceStubcreate(ClientContext clientContext) static final HttpJsonLivestreamServiceStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonLivestreamServiceStubcreate(LivestreamServiceStubSettings settings) OperationCallable<DeleteAssetRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteChannelRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteClipRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteDvrSessionRequest,com.google.protobuf.Empty, OperationMetadata> UnaryCallable<DeleteEventRequest,com.google.protobuf.Empty> OperationCallable<DeleteInputRequest,com.google.protobuf.Empty, OperationMetadata> static List<ApiMethodDescriptor>booleanbooleanvoidshutdown()voidMethods inherited from class com.google.cloud.video.livestream.v1.stub.LivestreamServiceStub
getOperationsStub
-
Constructor Details
-
HttpJsonLivestreamServiceStub
protected HttpJsonLivestreamServiceStub(LivestreamServiceStubSettings settings, ClientContext clientContext) throws IOException 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.- Throws:
IOException
-
HttpJsonLivestreamServiceStub
protected HttpJsonLivestreamServiceStub(LivestreamServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException 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.- Throws:
IOException
-
-
Method Details
-
create
public static final HttpJsonLivestreamServiceStub create(LivestreamServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final HttpJsonLivestreamServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final HttpJsonLivestreamServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
getHttpJsonOperationsStub
- Overrides:
getHttpJsonOperationsStubin classLivestreamServiceStub
-
createChannelCallable
- Overrides:
createChannelCallablein classLivestreamServiceStub
-
createChannelOperationCallable
public OperationCallable<CreateChannelRequest,Channel, createChannelOperationCallable()OperationMetadata> - Overrides:
createChannelOperationCallablein classLivestreamServiceStub
-
listChannelsCallable
- Overrides:
listChannelsCallablein classLivestreamServiceStub
-
listChannelsPagedCallable
public UnaryCallable<ListChannelsRequest,LivestreamServiceClient.ListChannelsPagedResponse> listChannelsPagedCallable()- Overrides:
listChannelsPagedCallablein classLivestreamServiceStub
-
getChannelCallable
- Overrides:
getChannelCallablein classLivestreamServiceStub
-
deleteChannelCallable
- Overrides:
deleteChannelCallablein classLivestreamServiceStub
-
deleteChannelOperationCallable
public OperationCallable<DeleteChannelRequest,com.google.protobuf.Empty, deleteChannelOperationCallable()OperationMetadata> - Overrides:
deleteChannelOperationCallablein classLivestreamServiceStub
-
updateChannelCallable
- Overrides:
updateChannelCallablein classLivestreamServiceStub
-
updateChannelOperationCallable
public OperationCallable<UpdateChannelRequest,Channel, updateChannelOperationCallable()OperationMetadata> - Overrides:
updateChannelOperationCallablein classLivestreamServiceStub
-
startChannelCallable
- Overrides:
startChannelCallablein classLivestreamServiceStub
-
startChannelOperationCallable
public OperationCallable<StartChannelRequest,ChannelOperationResponse, startChannelOperationCallable()OperationMetadata> - Overrides:
startChannelOperationCallablein classLivestreamServiceStub
-
stopChannelCallable
- Overrides:
stopChannelCallablein classLivestreamServiceStub
-
stopChannelOperationCallable
public OperationCallable<StopChannelRequest,ChannelOperationResponse, stopChannelOperationCallable()OperationMetadata> - Overrides:
stopChannelOperationCallablein classLivestreamServiceStub
-
startDistributionCallable
- Overrides:
startDistributionCallablein classLivestreamServiceStub
-
startDistributionOperationCallable
public OperationCallable<StartDistributionRequest,ChannelOperationResponse, startDistributionOperationCallable()OperationMetadata> - Overrides:
startDistributionOperationCallablein classLivestreamServiceStub
-
stopDistributionCallable
- Overrides:
stopDistributionCallablein classLivestreamServiceStub
-
stopDistributionOperationCallable
public OperationCallable<StopDistributionRequest,ChannelOperationResponse, stopDistributionOperationCallable()OperationMetadata> - Overrides:
stopDistributionOperationCallablein classLivestreamServiceStub
-
createInputCallable
- Overrides:
createInputCallablein classLivestreamServiceStub
-
createInputOperationCallable
- Overrides:
createInputOperationCallablein classLivestreamServiceStub
-
listInputsCallable
- Overrides:
listInputsCallablein classLivestreamServiceStub
-
listInputsPagedCallable
public UnaryCallable<ListInputsRequest,LivestreamServiceClient.ListInputsPagedResponse> listInputsPagedCallable()- Overrides:
listInputsPagedCallablein classLivestreamServiceStub
-
getInputCallable
- Overrides:
getInputCallablein classLivestreamServiceStub
-
deleteInputCallable
- Overrides:
deleteInputCallablein classLivestreamServiceStub
-
deleteInputOperationCallable
public OperationCallable<DeleteInputRequest,com.google.protobuf.Empty, deleteInputOperationCallable()OperationMetadata> - Overrides:
deleteInputOperationCallablein classLivestreamServiceStub
-
updateInputCallable
- Overrides:
updateInputCallablein classLivestreamServiceStub
-
updateInputOperationCallable
- Overrides:
updateInputOperationCallablein classLivestreamServiceStub
-
previewInputCallable
- Overrides:
previewInputCallablein classLivestreamServiceStub
-
createEventCallable
- Overrides:
createEventCallablein classLivestreamServiceStub
-
listEventsCallable
- Overrides:
listEventsCallablein classLivestreamServiceStub
-
listEventsPagedCallable
public UnaryCallable<ListEventsRequest,LivestreamServiceClient.ListEventsPagedResponse> listEventsPagedCallable()- Overrides:
listEventsPagedCallablein classLivestreamServiceStub
-
getEventCallable
- Overrides:
getEventCallablein classLivestreamServiceStub
-
deleteEventCallable
- Overrides:
deleteEventCallablein classLivestreamServiceStub
-
listClipsCallable
- Overrides:
listClipsCallablein classLivestreamServiceStub
-
listClipsPagedCallable
public UnaryCallable<ListClipsRequest,LivestreamServiceClient.ListClipsPagedResponse> listClipsPagedCallable()- Overrides:
listClipsPagedCallablein classLivestreamServiceStub
-
getClipCallable
- Overrides:
getClipCallablein classLivestreamServiceStub
-
createClipCallable
- Overrides:
createClipCallablein classLivestreamServiceStub
-
createClipOperationCallable
- Overrides:
createClipOperationCallablein classLivestreamServiceStub
-
deleteClipCallable
- Overrides:
deleteClipCallablein classLivestreamServiceStub
-
deleteClipOperationCallable
public OperationCallable<DeleteClipRequest,com.google.protobuf.Empty, deleteClipOperationCallable()OperationMetadata> - Overrides:
deleteClipOperationCallablein classLivestreamServiceStub
-
createDvrSessionCallable
- Overrides:
createDvrSessionCallablein classLivestreamServiceStub
-
createDvrSessionOperationCallable
public OperationCallable<CreateDvrSessionRequest,DvrSession, createDvrSessionOperationCallable()OperationMetadata> - Overrides:
createDvrSessionOperationCallablein classLivestreamServiceStub
-
listDvrSessionsCallable
- Overrides:
listDvrSessionsCallablein classLivestreamServiceStub
-
listDvrSessionsPagedCallable
public UnaryCallable<ListDvrSessionsRequest,LivestreamServiceClient.ListDvrSessionsPagedResponse> listDvrSessionsPagedCallable()- Overrides:
listDvrSessionsPagedCallablein classLivestreamServiceStub
-
getDvrSessionCallable
- Overrides:
getDvrSessionCallablein classLivestreamServiceStub
-
deleteDvrSessionCallable
- Overrides:
deleteDvrSessionCallablein classLivestreamServiceStub
-
deleteDvrSessionOperationCallable
public OperationCallable<DeleteDvrSessionRequest,com.google.protobuf.Empty, deleteDvrSessionOperationCallable()OperationMetadata> - Overrides:
deleteDvrSessionOperationCallablein classLivestreamServiceStub
-
updateDvrSessionCallable
- Overrides:
updateDvrSessionCallablein classLivestreamServiceStub
-
updateDvrSessionOperationCallable
public OperationCallable<UpdateDvrSessionRequest,DvrSession, updateDvrSessionOperationCallable()OperationMetadata> - Overrides:
updateDvrSessionOperationCallablein classLivestreamServiceStub
-
createAssetCallable
- Overrides:
createAssetCallablein classLivestreamServiceStub
-
createAssetOperationCallable
- Overrides:
createAssetOperationCallablein classLivestreamServiceStub
-
deleteAssetCallable
- Overrides:
deleteAssetCallablein classLivestreamServiceStub
-
deleteAssetOperationCallable
public OperationCallable<DeleteAssetRequest,com.google.protobuf.Empty, deleteAssetOperationCallable()OperationMetadata> - Overrides:
deleteAssetOperationCallablein classLivestreamServiceStub
-
getAssetCallable
- Overrides:
getAssetCallablein classLivestreamServiceStub
-
listAssetsCallable
- Overrides:
listAssetsCallablein classLivestreamServiceStub
-
listAssetsPagedCallable
public UnaryCallable<ListAssetsRequest,LivestreamServiceClient.ListAssetsPagedResponse> listAssetsPagedCallable()- Overrides:
listAssetsPagedCallablein classLivestreamServiceStub
-
getPoolCallable
- Overrides:
getPoolCallablein classLivestreamServiceStub
-
updatePoolCallable
- Overrides:
updatePoolCallablein classLivestreamServiceStub
-
updatePoolOperationCallable
- Overrides:
updatePoolOperationCallablein classLivestreamServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classLivestreamServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,LivestreamServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classLivestreamServiceStub
-
getLocationCallable
- Overrides:
getLocationCallablein classLivestreamServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classLivestreamServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-