InteractionResponse
public
final
class
InteractionResponse
extends Object
implements
To<MessageLite>
java.lang.Object | |
↳ | android.support.test.espresso.remote.InteractionResponse |
Encapsulates a UiInteraction.InteractionResultProto
request. Takes care of all the proto packing and
unpacking.
Summary
Nested classes | |
---|---|
class |
InteractionResponse.Builder
Builder for |
class |
InteractionResponse.RemoteError
TODO(b/31122396): parse this from a proto Enum representing wire protocol error codes and their default description. |
enum |
InteractionResponse.Status
The status of this interaction response. |
Public methods | |
---|---|
InteractionResponse.RemoteError
|
getRemoteError()
|
InteractionResponse.Status
|
getStatus()
|
boolean
|
hasRemoteError()
|
MessageLite
|
toProto()
|
Inherited methods | |
---|---|
![]()
java.lang.Object
| |
![]()
android.support.test.espresso.remote.EspressoRemoteMessage.To
|
Public methods
getRemoteError
InteractionResponse.RemoteError getRemoteError ()
Returns | |
---|---|
InteractionResponse.RemoteError |
the UiInteraction.Error of this InteractionResponse |
getStatus
InteractionResponse.Status getStatus ()
Returns | |
---|---|
InteractionResponse.Status |
the InteractionResponse.Status of this InteractionResponse |
hasRemoteError
boolean hasRemoteError ()
Returns | |
---|---|
boolean |
true if a InteractionResponse.RemoteError has been set on this InteractionResponse |
toProto
MessageLite toProto ()
Returns | |
---|---|
MessageLite |
Interfaces
Classes
- ConstructorInvocation
- EspressoRemote
- FieldDescriptor
- GenericRemoteMessage
- InteractionRequest
- InteractionRequest.Builder
- InteractionResponse
- InteractionResponse.Builder
- InteractionResponse.RemoteError
- NoopRemoteInteraction
- ProtoUtils
- RemoteDescriptor
- RemoteDescriptor.Builder
- RemoteDescriptorRegistry
- RemoteInteractionRegistry
- TypeProtoConverters
Enums
Exceptions