- 0.57.0 (latest)
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.8
- 0.3.0
public class GrpcLivestreamServiceStub extends LivestreamServiceStub
gRPC 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 GrpcLivestreamServiceStub create(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Returns | |
---|---|
Type | Description |
GrpcLivestreamServiceStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcLivestreamServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext | ClientContext |
callableFactory | GrpcStubCallableFactory |
Returns | |
---|---|
Type | Description |
GrpcLivestreamServiceStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(LivestreamServiceStubSettings settings)
public static final GrpcLivestreamServiceStub create(LivestreamServiceStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings | LivestreamServiceStubSettings |
Returns | |
---|---|
Type | Description |
GrpcLivestreamServiceStub |
Exceptions | |
---|---|
Type | Description |
IOException |
Constructors
GrpcLivestreamServiceStub(LivestreamServiceStubSettings settings, ClientContext clientContext)
protected GrpcLivestreamServiceStub(LivestreamServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcLivestreamServiceStub, 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 | LivestreamServiceStubSettings |
clientContext | ClientContext |
GrpcLivestreamServiceStub(LivestreamServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcLivestreamServiceStub(LivestreamServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcLivestreamServiceStub, 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 | LivestreamServiceStubSettings |
clientContext | ClientContext |
callableFactory | GrpcStubCallableFactory |
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 |
close()
public final void close()
createChannelCallable()
public UnaryCallable<CreateChannelRequest,Operation> createChannelCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateChannelRequest,Operation> |
createChannelOperationCallable()
public OperationCallable<CreateChannelRequest,Channel,OperationMetadata> createChannelOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateChannelRequest,Channel,OperationMetadata> |
createEventCallable()
public UnaryCallable<CreateEventRequest,Event> createEventCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateEventRequest,Event> |
createInputCallable()
public UnaryCallable<CreateInputRequest,Operation> createInputCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateInputRequest,Operation> |
createInputOperationCallable()
public OperationCallable<CreateInputRequest,Input,OperationMetadata> createInputOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateInputRequest,Input,OperationMetadata> |
deleteChannelCallable()
public UnaryCallable<DeleteChannelRequest,Operation> deleteChannelCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteChannelRequest,Operation> |
deleteChannelOperationCallable()
public OperationCallable<DeleteChannelRequest,Empty,OperationMetadata> deleteChannelOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteChannelRequest,Empty,OperationMetadata> |
deleteEventCallable()
public UnaryCallable<DeleteEventRequest,Empty> deleteEventCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteEventRequest,Empty> |
deleteInputCallable()
public UnaryCallable<DeleteInputRequest,Operation> deleteInputCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteInputRequest,Operation> |
deleteInputOperationCallable()
public OperationCallable<DeleteInputRequest,Empty,OperationMetadata> deleteInputOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteInputRequest,Empty,OperationMetadata> |
getChannelCallable()
public UnaryCallable<GetChannelRequest,Channel> getChannelCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetChannelRequest,Channel> |
getEventCallable()
public UnaryCallable<GetEventRequest,Event> getEventCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetEventRequest,Event> |
getInputCallable()
public UnaryCallable<GetInputRequest,Input> getInputCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetInputRequest,Input> |
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns | |
---|---|
Type | Description |
GrpcOperationsStub |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
listChannelsCallable()
public UnaryCallable<ListChannelsRequest,ListChannelsResponse> listChannelsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListChannelsRequest,ListChannelsResponse> |
listChannelsPagedCallable()
public UnaryCallable<ListChannelsRequest,LivestreamServiceClient.ListChannelsPagedResponse> listChannelsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListChannelsRequest,ListChannelsPagedResponse> |
listEventsCallable()
public UnaryCallable<ListEventsRequest,ListEventsResponse> listEventsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListEventsRequest,ListEventsResponse> |
listEventsPagedCallable()
public UnaryCallable<ListEventsRequest,LivestreamServiceClient.ListEventsPagedResponse> listEventsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListEventsRequest,ListEventsPagedResponse> |
listInputsCallable()
public UnaryCallable<ListInputsRequest,ListInputsResponse> listInputsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListInputsRequest,ListInputsResponse> |
listInputsPagedCallable()
public UnaryCallable<ListInputsRequest,LivestreamServiceClient.ListInputsPagedResponse> listInputsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListInputsRequest,ListInputsPagedResponse> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
startChannelCallable()
public UnaryCallable<StartChannelRequest,Operation> startChannelCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<StartChannelRequest,Operation> |
startChannelOperationCallable()
public OperationCallable<StartChannelRequest,ChannelOperationResponse,OperationMetadata> startChannelOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<StartChannelRequest,ChannelOperationResponse,OperationMetadata> |
stopChannelCallable()
public UnaryCallable<StopChannelRequest,Operation> stopChannelCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<StopChannelRequest,Operation> |
stopChannelOperationCallable()
public OperationCallable<StopChannelRequest,ChannelOperationResponse,OperationMetadata> stopChannelOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<StopChannelRequest,ChannelOperationResponse,OperationMetadata> |
updateChannelCallable()
public UnaryCallable<UpdateChannelRequest,Operation> updateChannelCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateChannelRequest,Operation> |
updateChannelOperationCallable()
public OperationCallable<UpdateChannelRequest,Channel,OperationMetadata> updateChannelOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateChannelRequest,Channel,OperationMetadata> |
updateInputCallable()
public UnaryCallable<UpdateInputRequest,Operation> updateInputCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateInputRequest,Operation> |
updateInputOperationCallable()
public OperationCallable<UpdateInputRequest,Input,OperationMetadata> updateInputOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateInputRequest,Input,OperationMetadata> |