Class HttpJsonLiveVideoAnalyticsStub (0.1.0)

public class HttpJsonLiveVideoAnalyticsStub extends LiveVideoAnalyticsStub

REST stub implementation for the LiveVideoAnalytics service API.

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

Inheritance

java.lang.Object > LiveVideoAnalyticsStub > HttpJsonLiveVideoAnalyticsStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonLiveVideoAnalyticsStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonLiveVideoAnalyticsStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonLiveVideoAnalyticsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonLiveVideoAnalyticsStub
Exceptions
Type Description
IOException

create(LiveVideoAnalyticsStubSettings settings)

public static final HttpJsonLiveVideoAnalyticsStub create(LiveVideoAnalyticsStubSettings settings)
Parameter
Name Description
settings LiveVideoAnalyticsStubSettings
Returns
Type Description
HttpJsonLiveVideoAnalyticsStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonLiveVideoAnalyticsStub(LiveVideoAnalyticsStubSettings settings, ClientContext clientContext)

protected HttpJsonLiveVideoAnalyticsStub(LiveVideoAnalyticsStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonLiveVideoAnalyticsStub, 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
Name Description
settings LiveVideoAnalyticsStubSettings
clientContext ClientContext

HttpJsonLiveVideoAnalyticsStub(LiveVideoAnalyticsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonLiveVideoAnalyticsStub(LiveVideoAnalyticsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonLiveVideoAnalyticsStub, 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
Name Description
settings LiveVideoAnalyticsStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

batchRunProcessCallable()

public UnaryCallable<BatchRunProcessRequest,Operation> batchRunProcessCallable()
Returns
Type Description
UnaryCallable<BatchRunProcessRequest,Operation>
Overrides

batchRunProcessOperationCallable()

public OperationCallable<BatchRunProcessRequest,BatchRunProcessResponse,OperationMetadata> batchRunProcessOperationCallable()
Returns
Type Description
OperationCallable<BatchRunProcessRequest,BatchRunProcessResponse,OperationMetadata>
Overrides

close()

public final void close()
Overrides

createAnalysisCallable()

public UnaryCallable<CreateAnalysisRequest,Operation> createAnalysisCallable()
Returns
Type Description
UnaryCallable<CreateAnalysisRequest,Operation>
Overrides

createAnalysisOperationCallable()

public OperationCallable<CreateAnalysisRequest,Analysis,OperationMetadata> createAnalysisOperationCallable()
Returns
Type Description
OperationCallable<CreateAnalysisRequest,Analysis,OperationMetadata>
Overrides

createOperatorCallable()

public UnaryCallable<CreateOperatorRequest,Operation> createOperatorCallable()
Returns
Type Description
UnaryCallable<CreateOperatorRequest,Operation>
Overrides

createOperatorOperationCallable()

public OperationCallable<CreateOperatorRequest,Operator,OperationMetadata> createOperatorOperationCallable()
Returns
Type Description
OperationCallable<CreateOperatorRequest,Operator,OperationMetadata>
Overrides

createProcessCallable()

public UnaryCallable<CreateProcessRequest,Operation> createProcessCallable()
Returns
Type Description
UnaryCallable<CreateProcessRequest,Operation>
Overrides

createProcessOperationCallable()

public OperationCallable<CreateProcessRequest,Process,OperationMetadata> createProcessOperationCallable()
Returns
Type Description
OperationCallable<CreateProcessRequest,Process,OperationMetadata>
Overrides

deleteAnalysisCallable()

public UnaryCallable<DeleteAnalysisRequest,Operation> deleteAnalysisCallable()
Returns
Type Description
UnaryCallable<DeleteAnalysisRequest,Operation>
Overrides

deleteAnalysisOperationCallable()

public OperationCallable<DeleteAnalysisRequest,Empty,OperationMetadata> deleteAnalysisOperationCallable()
Returns
Type Description
OperationCallable<DeleteAnalysisRequest,Empty,OperationMetadata>
Overrides

deleteOperatorCallable()

public UnaryCallable<DeleteOperatorRequest,Operation> deleteOperatorCallable()
Returns
Type Description
UnaryCallable<DeleteOperatorRequest,Operation>
Overrides

deleteOperatorOperationCallable()

public OperationCallable<DeleteOperatorRequest,Empty,OperationMetadata> deleteOperatorOperationCallable()
Returns
Type Description
OperationCallable<DeleteOperatorRequest,Empty,OperationMetadata>
Overrides

deleteProcessCallable()

public UnaryCallable<DeleteProcessRequest,Operation> deleteProcessCallable()
Returns
Type Description
UnaryCallable<DeleteProcessRequest,Operation>
Overrides

deleteProcessOperationCallable()

public OperationCallable<DeleteProcessRequest,Empty,OperationMetadata> deleteProcessOperationCallable()
Returns
Type Description
OperationCallable<DeleteProcessRequest,Empty,OperationMetadata>
Overrides

getAnalysisCallable()

public UnaryCallable<GetAnalysisRequest,Analysis> getAnalysisCallable()
Returns
Type Description
UnaryCallable<GetAnalysisRequest,Analysis>
Overrides

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
Overrides

getOperatorCallable()

public UnaryCallable<GetOperatorRequest,Operator> getOperatorCallable()
Returns
Type Description
UnaryCallable<GetOperatorRequest,Operator>
Overrides

getProcessCallable()

public UnaryCallable<GetProcessRequest,Process> getProcessCallable()
Returns
Type Description
UnaryCallable<GetProcessRequest,Process>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listAnalysesCallable()

public UnaryCallable<ListAnalysesRequest,ListAnalysesResponse> listAnalysesCallable()
Returns
Type Description
UnaryCallable<ListAnalysesRequest,ListAnalysesResponse>
Overrides

listAnalysesPagedCallable()

public UnaryCallable<ListAnalysesRequest,LiveVideoAnalyticsClient.ListAnalysesPagedResponse> listAnalysesPagedCallable()
Returns
Type Description
UnaryCallable<ListAnalysesRequest,ListAnalysesPagedResponse>
Overrides

listOperatorsCallable()

public UnaryCallable<ListOperatorsRequest,ListOperatorsResponse> listOperatorsCallable()
Returns
Type Description
UnaryCallable<ListOperatorsRequest,ListOperatorsResponse>
Overrides

listOperatorsPagedCallable()

public UnaryCallable<ListOperatorsRequest,LiveVideoAnalyticsClient.ListOperatorsPagedResponse> listOperatorsPagedCallable()
Returns
Type Description
UnaryCallable<ListOperatorsRequest,ListOperatorsPagedResponse>
Overrides

listProcessesCallable()

public UnaryCallable<ListProcessesRequest,ListProcessesResponse> listProcessesCallable()
Returns
Type Description
UnaryCallable<ListProcessesRequest,ListProcessesResponse>
Overrides

listProcessesPagedCallable()

public UnaryCallable<ListProcessesRequest,LiveVideoAnalyticsClient.ListProcessesPagedResponse> listProcessesPagedCallable()
Returns
Type Description
UnaryCallable<ListProcessesRequest,ListProcessesPagedResponse>
Overrides

listPublicOperatorsCallable()

public UnaryCallable<ListPublicOperatorsRequest,ListPublicOperatorsResponse> listPublicOperatorsCallable()
Returns
Type Description
UnaryCallable<ListPublicOperatorsRequest,ListPublicOperatorsResponse>
Overrides

listPublicOperatorsPagedCallable()

public UnaryCallable<ListPublicOperatorsRequest,LiveVideoAnalyticsClient.ListPublicOperatorsPagedResponse> listPublicOperatorsPagedCallable()
Returns
Type Description
UnaryCallable<ListPublicOperatorsRequest,ListPublicOperatorsPagedResponse>
Overrides

resolveOperatorInfoCallable()

public UnaryCallable<ResolveOperatorInfoRequest,ResolveOperatorInfoResponse> resolveOperatorInfoCallable()
Returns
Type Description
UnaryCallable<ResolveOperatorInfoRequest,ResolveOperatorInfoResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateAnalysisCallable()

public UnaryCallable<UpdateAnalysisRequest,Operation> updateAnalysisCallable()
Returns
Type Description
UnaryCallable<UpdateAnalysisRequest,Operation>
Overrides

updateAnalysisOperationCallable()

public OperationCallable<UpdateAnalysisRequest,Analysis,OperationMetadata> updateAnalysisOperationCallable()
Returns
Type Description
OperationCallable<UpdateAnalysisRequest,Analysis,OperationMetadata>
Overrides

updateOperatorCallable()

public UnaryCallable<UpdateOperatorRequest,Operation> updateOperatorCallable()
Returns
Type Description
UnaryCallable<UpdateOperatorRequest,Operation>
Overrides

updateOperatorOperationCallable()

public OperationCallable<UpdateOperatorRequest,Operator,OperationMetadata> updateOperatorOperationCallable()
Returns
Type Description
OperationCallable<UpdateOperatorRequest,Operator,OperationMetadata>
Overrides

updateProcessCallable()

public UnaryCallable<UpdateProcessRequest,Operation> updateProcessCallable()
Returns
Type Description
UnaryCallable<UpdateProcessRequest,Operation>
Overrides

updateProcessOperationCallable()

public OperationCallable<UpdateProcessRequest,Process,OperationMetadata> updateProcessOperationCallable()
Returns
Type Description
OperationCallable<UpdateProcessRequest,Process,OperationMetadata>
Overrides