Class DirectAccessServiceGrpc
java.lang.Object
com.google.cloud.devicestreaming.v1.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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceA service for allocating Android devices and interacting with the live-allocated devices.static final classA stub to allow clients to do limited synchronous rpc calls to service DirectAccessService.static final classA stub to allow clients to do synchronous rpc calls to service DirectAccessService.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service DirectAccessService.static classBase class for the server implementation of the service DirectAccessService.static final classA stub to allow clients to do asynchronous rpc calls to service DirectAccessService. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionstatic io.grpc.MethodDescriptor<AdbMessage,DeviceMessage> static io.grpc.MethodDescriptor<CancelDeviceSessionRequest,com.google.protobuf.Empty> static io.grpc.MethodDescriptor<CreateDeviceSessionRequest,DeviceSession> static io.grpc.MethodDescriptor<GetDeviceSessionRequest,DeviceSession> static io.grpc.MethodDescriptor<ListDeviceSessionsRequest,ListDeviceSessionsResponse> static io.grpc.ServiceDescriptorstatic io.grpc.MethodDescriptor<UpdateDeviceSessionRequest,DeviceSession> newBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on the servicenewFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicenewStub(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
getCreateDeviceSessionMethod
public static io.grpc.MethodDescriptor<CreateDeviceSessionRequest,DeviceSession> getCreateDeviceSessionMethod() -
getListDeviceSessionsMethod
public static io.grpc.MethodDescriptor<ListDeviceSessionsRequest,ListDeviceSessionsResponse> getListDeviceSessionsMethod() -
getGetDeviceSessionMethod
public static io.grpc.MethodDescriptor<GetDeviceSessionRequest,DeviceSession> getGetDeviceSessionMethod() -
getCancelDeviceSessionMethod
public static io.grpc.MethodDescriptor<CancelDeviceSessionRequest,com.google.protobuf.Empty> getCancelDeviceSessionMethod() -
getUpdateDeviceSessionMethod
public static io.grpc.MethodDescriptor<UpdateDeviceSessionRequest,DeviceSession> getUpdateDeviceSessionMethod() -
getAdbConnectMethod
-
newStub
Creates a new async stub that supports all call types for the service -
newBlockingV2Stub
public static DirectAccessServiceGrpc.DirectAccessServiceBlockingV2Stub newBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on the service -
newBlockingStub
public static DirectAccessServiceGrpc.DirectAccessServiceBlockingStub newBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
public static DirectAccessServiceGrpc.DirectAccessServiceFutureStub newFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the service -
bindService
public static final io.grpc.ServerServiceDefinition bindService(DirectAccessServiceGrpc.AsyncService service) -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-