Class GrpcLivestreamServiceStub (0.29.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.

Inheritance

java.lang.Object > LivestreamServiceStub > GrpcLivestreamServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcLivestreamServiceStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcLivestreamServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcLivestreamServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcLivestreamServiceStub
Exceptions
TypeDescription
IOException

create(LivestreamServiceStubSettings settings)

public static final GrpcLivestreamServiceStub create(LivestreamServiceStubSettings settings)
Parameter
NameDescription
settingsLivestreamServiceStubSettings
Returns
TypeDescription
GrpcLivestreamServiceStub
Exceptions
TypeDescription
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
NameDescription
settingsLivestreamServiceStubSettings
clientContextClientContext

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
NameDescription
settingsLivestreamServiceStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createAssetCallable()

public UnaryCallable<CreateAssetRequest,Operation> createAssetCallable()
Returns
TypeDescription
UnaryCallable<CreateAssetRequest,Operation>
Overrides

createAssetOperationCallable()

public OperationCallable<CreateAssetRequest,Asset,OperationMetadata> createAssetOperationCallable()
Returns
TypeDescription
OperationCallable<CreateAssetRequest,Asset,OperationMetadata>
Overrides

createChannelCallable()

public UnaryCallable<CreateChannelRequest,Operation> createChannelCallable()
Returns
TypeDescription
UnaryCallable<CreateChannelRequest,Operation>
Overrides

createChannelOperationCallable()

public OperationCallable<CreateChannelRequest,Channel,OperationMetadata> createChannelOperationCallable()
Returns
TypeDescription
OperationCallable<CreateChannelRequest,Channel,OperationMetadata>
Overrides

createEventCallable()

public UnaryCallable<CreateEventRequest,Event> createEventCallable()
Returns
TypeDescription
UnaryCallable<CreateEventRequest,Event>
Overrides

createInputCallable()

public UnaryCallable<CreateInputRequest,Operation> createInputCallable()
Returns
TypeDescription
UnaryCallable<CreateInputRequest,Operation>
Overrides

createInputOperationCallable()

public OperationCallable<CreateInputRequest,Input,OperationMetadata> createInputOperationCallable()
Returns
TypeDescription
OperationCallable<CreateInputRequest,Input,OperationMetadata>
Overrides

deleteAssetCallable()

public UnaryCallable<DeleteAssetRequest,Operation> deleteAssetCallable()
Returns
TypeDescription
UnaryCallable<DeleteAssetRequest,Operation>
Overrides

deleteAssetOperationCallable()

public OperationCallable<DeleteAssetRequest,Empty,OperationMetadata> deleteAssetOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteAssetRequest,Empty,OperationMetadata>
Overrides

deleteChannelCallable()

public UnaryCallable<DeleteChannelRequest,Operation> deleteChannelCallable()
Returns
TypeDescription
UnaryCallable<DeleteChannelRequest,Operation>
Overrides

deleteChannelOperationCallable()

public OperationCallable<DeleteChannelRequest,Empty,OperationMetadata> deleteChannelOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteChannelRequest,Empty,OperationMetadata>
Overrides

deleteEventCallable()

public UnaryCallable<DeleteEventRequest,Empty> deleteEventCallable()
Returns
TypeDescription
UnaryCallable<DeleteEventRequest,Empty>
Overrides

deleteInputCallable()

public UnaryCallable<DeleteInputRequest,Operation> deleteInputCallable()
Returns
TypeDescription
UnaryCallable<DeleteInputRequest,Operation>
Overrides

deleteInputOperationCallable()

public OperationCallable<DeleteInputRequest,Empty,OperationMetadata> deleteInputOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteInputRequest,Empty,OperationMetadata>
Overrides

getAssetCallable()

public UnaryCallable<GetAssetRequest,Asset> getAssetCallable()
Returns
TypeDescription
UnaryCallable<GetAssetRequest,Asset>
Overrides

getChannelCallable()

public UnaryCallable<GetChannelRequest,Channel> getChannelCallable()
Returns
TypeDescription
UnaryCallable<GetChannelRequest,Channel>
Overrides

getEventCallable()

public UnaryCallable<GetEventRequest,Event> getEventCallable()
Returns
TypeDescription
UnaryCallable<GetEventRequest,Event>
Overrides

getInputCallable()

public UnaryCallable<GetInputRequest,Input> getInputCallable()
Returns
TypeDescription
UnaryCallable<GetInputRequest,Input>
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

getPoolCallable()

public UnaryCallable<GetPoolRequest,Pool> getPoolCallable()
Returns
TypeDescription
UnaryCallable<GetPoolRequest,Pool>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listAssetsCallable()

public UnaryCallable<ListAssetsRequest,ListAssetsResponse> listAssetsCallable()
Returns
TypeDescription
UnaryCallable<ListAssetsRequest,ListAssetsResponse>
Overrides

listAssetsPagedCallable()

public UnaryCallable<ListAssetsRequest,LivestreamServiceClient.ListAssetsPagedResponse> listAssetsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListAssetsRequest,ListAssetsPagedResponse>
Overrides

listChannelsCallable()

public UnaryCallable<ListChannelsRequest,ListChannelsResponse> listChannelsCallable()
Returns
TypeDescription
UnaryCallable<ListChannelsRequest,ListChannelsResponse>
Overrides

listChannelsPagedCallable()

public UnaryCallable<ListChannelsRequest,LivestreamServiceClient.ListChannelsPagedResponse> listChannelsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListChannelsRequest,ListChannelsPagedResponse>
Overrides

listEventsCallable()

public UnaryCallable<ListEventsRequest,ListEventsResponse> listEventsCallable()
Returns
TypeDescription
UnaryCallable<ListEventsRequest,ListEventsResponse>
Overrides

listEventsPagedCallable()

public UnaryCallable<ListEventsRequest,LivestreamServiceClient.ListEventsPagedResponse> listEventsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListEventsRequest,ListEventsPagedResponse>
Overrides

listInputsCallable()

public UnaryCallable<ListInputsRequest,ListInputsResponse> listInputsCallable()
Returns
TypeDescription
UnaryCallable<ListInputsRequest,ListInputsResponse>
Overrides

listInputsPagedCallable()

public UnaryCallable<ListInputsRequest,LivestreamServiceClient.ListInputsPagedResponse> listInputsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListInputsRequest,ListInputsPagedResponse>
Overrides

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,LivestreamServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

startChannelCallable()

public UnaryCallable<StartChannelRequest,Operation> startChannelCallable()
Returns
TypeDescription
UnaryCallable<StartChannelRequest,Operation>
Overrides

startChannelOperationCallable()

public OperationCallable<StartChannelRequest,ChannelOperationResponse,OperationMetadata> startChannelOperationCallable()
Returns
TypeDescription
OperationCallable<StartChannelRequest,ChannelOperationResponse,OperationMetadata>
Overrides

stopChannelCallable()

public UnaryCallable<StopChannelRequest,Operation> stopChannelCallable()
Returns
TypeDescription
UnaryCallable<StopChannelRequest,Operation>
Overrides

stopChannelOperationCallable()

public OperationCallable<StopChannelRequest,ChannelOperationResponse,OperationMetadata> stopChannelOperationCallable()
Returns
TypeDescription
OperationCallable<StopChannelRequest,ChannelOperationResponse,OperationMetadata>
Overrides

updateChannelCallable()

public UnaryCallable<UpdateChannelRequest,Operation> updateChannelCallable()
Returns
TypeDescription
UnaryCallable<UpdateChannelRequest,Operation>
Overrides

updateChannelOperationCallable()

public OperationCallable<UpdateChannelRequest,Channel,OperationMetadata> updateChannelOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateChannelRequest,Channel,OperationMetadata>
Overrides

updateInputCallable()

public UnaryCallable<UpdateInputRequest,Operation> updateInputCallable()
Returns
TypeDescription
UnaryCallable<UpdateInputRequest,Operation>
Overrides

updateInputOperationCallable()

public OperationCallable<UpdateInputRequest,Input,OperationMetadata> updateInputOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateInputRequest,Input,OperationMetadata>
Overrides

updatePoolCallable()

public UnaryCallable<UpdatePoolRequest,Operation> updatePoolCallable()
Returns
TypeDescription
UnaryCallable<UpdatePoolRequest,Operation>
Overrides

updatePoolOperationCallable()

public OperationCallable<UpdatePoolRequest,Pool,OperationMetadata> updatePoolOperationCallable()
Returns
TypeDescription
OperationCallable<UpdatePoolRequest,Pool,OperationMetadata>
Overrides