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)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcLivestreamServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(LivestreamServiceStubSettings settings)
public static final GrpcLivestreamServiceStub create(LivestreamServiceStubSettings settings)
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.
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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
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
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
getChannelCallable()
public UnaryCallable<GetChannelRequest,Channel> getChannelCallable()
Overrides
getEventCallable()
public UnaryCallable<GetEventRequest,Event> getEventCallable()
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
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
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