Class GrpcStreamsServiceStub
java.lang.Object
com.google.cloud.visionai.v1.stub.StreamsServiceStub
com.google.cloud.visionai.v1.stub.GrpcStreamsServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class GrpcStreamsServiceStub
extends StreamsServiceStub
gRPC stub implementation for the StreamsService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcStreamsServiceStub(StreamsServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcStreamsServiceStub, using the given settings.protectedGrpcStreamsServiceStub(StreamsServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcStreamsServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcStreamsServiceStubcreate(ClientContext clientContext) static final GrpcStreamsServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcStreamsServiceStubcreate(StreamsServiceStubSettings settings) OperationCallable<DeleteClusterRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteEventRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteSeriesRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteStreamRequest,com.google.protobuf.Empty, OperationMetadata> booleanbooleanvoidshutdown()voidMethods inherited from class com.google.cloud.visionai.v1.stub.StreamsServiceStub
getHttpJsonOperationsStub
-
Constructor Details
-
GrpcStreamsServiceStub
protected GrpcStreamsServiceStub(StreamsServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcStreamsServiceStub, 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
-
GrpcStreamsServiceStub
protected GrpcStreamsServiceStub(StreamsServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcStreamsServiceStub, 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 GrpcStreamsServiceStub create(StreamsServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final GrpcStreamsServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classStreamsServiceStub
-
listClustersCallable
- Overrides:
listClustersCallablein classStreamsServiceStub
-
listClustersPagedCallable
public UnaryCallable<ListClustersRequest,StreamsServiceClient.ListClustersPagedResponse> listClustersPagedCallable()- Overrides:
listClustersPagedCallablein classStreamsServiceStub
-
getClusterCallable
- Overrides:
getClusterCallablein classStreamsServiceStub
-
createClusterCallable
- Overrides:
createClusterCallablein classStreamsServiceStub
-
createClusterOperationCallable
public OperationCallable<CreateClusterRequest,Cluster, createClusterOperationCallable()OperationMetadata> - Overrides:
createClusterOperationCallablein classStreamsServiceStub
-
updateClusterCallable
- Overrides:
updateClusterCallablein classStreamsServiceStub
-
updateClusterOperationCallable
public OperationCallable<UpdateClusterRequest,Cluster, updateClusterOperationCallable()OperationMetadata> - Overrides:
updateClusterOperationCallablein classStreamsServiceStub
-
deleteClusterCallable
- Overrides:
deleteClusterCallablein classStreamsServiceStub
-
deleteClusterOperationCallable
public OperationCallable<DeleteClusterRequest,com.google.protobuf.Empty, deleteClusterOperationCallable()OperationMetadata> - Overrides:
deleteClusterOperationCallablein classStreamsServiceStub
-
listStreamsCallable
- Overrides:
listStreamsCallablein classStreamsServiceStub
-
listStreamsPagedCallable
public UnaryCallable<ListStreamsRequest,StreamsServiceClient.ListStreamsPagedResponse> listStreamsPagedCallable()- Overrides:
listStreamsPagedCallablein classStreamsServiceStub
-
getStreamCallable
- Overrides:
getStreamCallablein classStreamsServiceStub
-
createStreamCallable
- Overrides:
createStreamCallablein classStreamsServiceStub
-
createStreamOperationCallable
public OperationCallable<CreateStreamRequest,Stream, createStreamOperationCallable()OperationMetadata> - Overrides:
createStreamOperationCallablein classStreamsServiceStub
-
updateStreamCallable
- Overrides:
updateStreamCallablein classStreamsServiceStub
-
updateStreamOperationCallable
public OperationCallable<UpdateStreamRequest,Stream, updateStreamOperationCallable()OperationMetadata> - Overrides:
updateStreamOperationCallablein classStreamsServiceStub
-
deleteStreamCallable
- Overrides:
deleteStreamCallablein classStreamsServiceStub
-
deleteStreamOperationCallable
public OperationCallable<DeleteStreamRequest,com.google.protobuf.Empty, deleteStreamOperationCallable()OperationMetadata> - Overrides:
deleteStreamOperationCallablein classStreamsServiceStub
-
getStreamThumbnailCallable
- Overrides:
getStreamThumbnailCallablein classStreamsServiceStub
-
getStreamThumbnailOperationCallable
public OperationCallable<GetStreamThumbnailRequest,GetStreamThumbnailResponse, getStreamThumbnailOperationCallable()OperationMetadata> - Overrides:
getStreamThumbnailOperationCallablein classStreamsServiceStub
-
generateStreamHlsTokenCallable
public UnaryCallable<GenerateStreamHlsTokenRequest,GenerateStreamHlsTokenResponse> generateStreamHlsTokenCallable()- Overrides:
generateStreamHlsTokenCallablein classStreamsServiceStub
-
listEventsCallable
- Overrides:
listEventsCallablein classStreamsServiceStub
-
listEventsPagedCallable
public UnaryCallable<ListEventsRequest,StreamsServiceClient.ListEventsPagedResponse> listEventsPagedCallable()- Overrides:
listEventsPagedCallablein classStreamsServiceStub
-
getEventCallable
- Overrides:
getEventCallablein classStreamsServiceStub
-
createEventCallable
- Overrides:
createEventCallablein classStreamsServiceStub
-
createEventOperationCallable
- Overrides:
createEventOperationCallablein classStreamsServiceStub
-
updateEventCallable
- Overrides:
updateEventCallablein classStreamsServiceStub
-
updateEventOperationCallable
- Overrides:
updateEventOperationCallablein classStreamsServiceStub
-
deleteEventCallable
- Overrides:
deleteEventCallablein classStreamsServiceStub
-
deleteEventOperationCallable
public OperationCallable<DeleteEventRequest,com.google.protobuf.Empty, deleteEventOperationCallable()OperationMetadata> - Overrides:
deleteEventOperationCallablein classStreamsServiceStub
-
listSeriesCallable
- Overrides:
listSeriesCallablein classStreamsServiceStub
-
listSeriesPagedCallable
public UnaryCallable<ListSeriesRequest,StreamsServiceClient.ListSeriesPagedResponse> listSeriesPagedCallable()- Overrides:
listSeriesPagedCallablein classStreamsServiceStub
-
getSeriesCallable
- Overrides:
getSeriesCallablein classStreamsServiceStub
-
createSeriesCallable
- Overrides:
createSeriesCallablein classStreamsServiceStub
-
createSeriesOperationCallable
public OperationCallable<CreateSeriesRequest,Series, createSeriesOperationCallable()OperationMetadata> - Overrides:
createSeriesOperationCallablein classStreamsServiceStub
-
updateSeriesCallable
- Overrides:
updateSeriesCallablein classStreamsServiceStub
-
updateSeriesOperationCallable
public OperationCallable<UpdateSeriesRequest,Series, updateSeriesOperationCallable()OperationMetadata> - Overrides:
updateSeriesOperationCallablein classStreamsServiceStub
-
deleteSeriesCallable
- Overrides:
deleteSeriesCallablein classStreamsServiceStub
-
deleteSeriesOperationCallable
public OperationCallable<DeleteSeriesRequest,com.google.protobuf.Empty, deleteSeriesOperationCallable()OperationMetadata> - Overrides:
deleteSeriesOperationCallablein classStreamsServiceStub
-
materializeChannelCallable
- Overrides:
materializeChannelCallablein classStreamsServiceStub
-
materializeChannelOperationCallable
public OperationCallable<MaterializeChannelRequest,Channel, materializeChannelOperationCallable()OperationMetadata> - Overrides:
materializeChannelOperationCallablein classStreamsServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classStreamsServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,StreamsServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classStreamsServiceStub
-
getLocationCallable
- Overrides:
getLocationCallablein classStreamsServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classStreamsServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-