Class DirectAccessServiceGrpc (0.2.0)

public final class DirectAccessServiceGrpc

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

Inheritance

java.lang.Object > DirectAccessServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(DirectAccessServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(DirectAccessServiceGrpc.AsyncService service)
Parameter
Name Description
service DirectAccessServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getAdbConnectMethod()

public static MethodDescriptor<AdbMessage,DeviceMessage> getAdbConnectMethod()
Returns
Type Description
io.grpc.MethodDescriptor<AdbMessage,DeviceMessage>

getCancelDeviceSessionMethod()

public static MethodDescriptor<CancelDeviceSessionRequest,Empty> getCancelDeviceSessionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CancelDeviceSessionRequest,Empty>

getCreateDeviceSessionMethod()

public static MethodDescriptor<CreateDeviceSessionRequest,DeviceSession> getCreateDeviceSessionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateDeviceSessionRequest,DeviceSession>

getGetDeviceSessionMethod()

public static MethodDescriptor<GetDeviceSessionRequest,DeviceSession> getGetDeviceSessionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetDeviceSessionRequest,DeviceSession>

getListDeviceSessionsMethod()

public static MethodDescriptor<ListDeviceSessionsRequest,ListDeviceSessionsResponse> getListDeviceSessionsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListDeviceSessionsRequest,ListDeviceSessionsResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getUpdateDeviceSessionMethod()

public static MethodDescriptor<UpdateDeviceSessionRequest,DeviceSession> getUpdateDeviceSessionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateDeviceSessionRequest,DeviceSession>

newBlockingStub(Channel channel)

public static DirectAccessServiceGrpc.DirectAccessServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
DirectAccessServiceGrpc.DirectAccessServiceBlockingStub

newBlockingV2Stub(Channel channel)

public static DirectAccessServiceGrpc.DirectAccessServiceBlockingV2Stub newBlockingV2Stub(Channel channel)

Creates a new blocking-style stub that supports all types of calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
DirectAccessServiceGrpc.DirectAccessServiceBlockingV2Stub

newFutureStub(Channel channel)

public static DirectAccessServiceGrpc.DirectAccessServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
DirectAccessServiceGrpc.DirectAccessServiceFutureStub

newStub(Channel channel)

public static DirectAccessServiceGrpc.DirectAccessServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
DirectAccessServiceGrpc.DirectAccessServiceStub