Class DirectAccessServiceGrpc.DirectAccessServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<DirectAccessServiceGrpc.DirectAccessServiceBlockingStub>
com.google.cloud.devicestreaming.v1.DirectAccessServiceGrpc.DirectAccessServiceBlockingStub
- Enclosing class:
- DirectAccessServiceGrpc
public static final class DirectAccessServiceGrpc.DirectAccessServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<DirectAccessServiceGrpc.DirectAccessServiceBlockingStub>
A stub to allow clients to do limited synchronous rpc calls to service DirectAccessService.
A service for allocating Android devices and interacting with the live-allocated devices. Each Session will wait for available capacity, at a higher priority over Test Execution. When allocated, the session will be exposed through a stream for integration. DirectAccessService is currently available as a preview to select developers. You can register today on behalf of you and your team at https://developer.android.com/studio/preview/android-device-streaming
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.protobuf.EmptyCancel a DeviceSession.Creates a DeviceSession.getDeviceSession(GetDeviceSessionRequest request) Gets a DeviceSession, which documents the allocation status and whether the device is allocated.Lists DeviceSessions owned by the project user.Updates the current DeviceSession to the fields described by the update_mask.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected DirectAccessServiceGrpc.DirectAccessServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<DirectAccessServiceGrpc.DirectAccessServiceBlockingStub>
-
createDeviceSession
Creates a DeviceSession.
-
listDeviceSessions
Lists DeviceSessions owned by the project user.
-
getDeviceSession
Gets a DeviceSession, which documents the allocation status and whether the device is allocated. Clients making requests from this API must poll GetDeviceSession.
-
cancelDeviceSession
Cancel a DeviceSession. This RPC changes the DeviceSession to state FINISHED and terminates all connections. Canceled sessions are not deleted and can be retrieved or listed by the user until they expire based on the 28 day deletion policy.
-
updateDeviceSession
Updates the current DeviceSession to the fields described by the update_mask.
-