Class HttpJsonLivestreamServiceStub (0.48.0)

public class HttpJsonLivestreamServiceStub extends LivestreamServiceStub

REST stub implementation for the LivestreamService service API.

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

Inheritance

java.lang.Object > LivestreamServiceStub > HttpJsonLivestreamServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(LivestreamServiceStubSettings settings)

public static final HttpJsonLivestreamServiceStub create(LivestreamServiceStubSettings settings)
Parameter
Name Description
settings LivestreamServiceStubSettings
Returns
Type Description
HttpJsonLivestreamServiceStub
Exceptions
Type Description
IOException

getMethodDescriptors()

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

Constructors

HttpJsonLivestreamServiceStub(LivestreamServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonLivestreamServiceStub(LivestreamServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonLivestreamServiceStub, 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

HttpJsonLivestreamServiceStub(LivestreamServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonLivestreamServiceStub(LivestreamServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonLivestreamServiceStub, 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 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

close()

public final void close()
Overrides

createAssetCallable()

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

createAssetOperationCallable()

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

createChannelCallable()

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

createChannelOperationCallable()

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

createEventCallable()

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

createInputCallable()

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

createInputOperationCallable()

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

deleteAssetCallable()

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

deleteAssetOperationCallable()

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

deleteChannelCallable()

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

deleteChannelOperationCallable()

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

deleteEventCallable()

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

deleteInputCallable()

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

deleteInputOperationCallable()

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

getAssetCallable()

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

getChannelCallable()

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

getEventCallable()

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

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
Overrides

getInputCallable()

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

getLocationCallable()

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

getPoolCallable()

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

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listAssetsCallable()

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

listAssetsPagedCallable()

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

listChannelsCallable()

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

listChannelsPagedCallable()

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

listEventsCallable()

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

listEventsPagedCallable()

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

listInputsCallable()

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

listInputsPagedCallable()

public UnaryCallable<ListInputsRequest,LivestreamServiceClient.ListInputsPagedResponse> listInputsPagedCallable()
Returns
Type Description
UnaryCallable<ListInputsRequest,ListInputsPagedResponse>
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()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

startChannelCallable()

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

startChannelOperationCallable()

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

stopChannelCallable()

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

stopChannelOperationCallable()

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

updateChannelCallable()

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

updateChannelOperationCallable()

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

updateInputCallable()

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

updateInputOperationCallable()

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

updatePoolCallable()

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

updatePoolOperationCallable()

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