com.googlecode.mobilityrpc.protocol.protobuf
Interface MessageExecutionResponse.ExecutionResponseOrBuilder
- All Superinterfaces:
- com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
- MessageExecutionResponse.ExecutionResponse, MessageExecutionResponse.ExecutionResponse.Builder
- Enclosing class:
- MessageExecutionResponse
public static interface MessageExecutionResponse.ExecutionResponseOrBuilder
- extends com.google.protobuf.MessageOrBuilder
| Methods inherited from interface com.google.protobuf.MessageOrBuilder |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof |
| Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder |
isInitialized |
hasExecutionOutcome
boolean hasExecutionOutcome()
required .com.googlecode.mobilityrpc.protocol.protobuf.ExecutionResponse.ExecutionOutcome execution_outcome = 1;
An enum value which indicates whether the execution returned a response object or not, or whether execution failed
getExecutionOutcome
MessageExecutionResponse.ExecutionResponse.ExecutionOutcome getExecutionOutcome()
required .com.googlecode.mobilityrpc.protocol.protobuf.ExecutionResponse.ExecutionOutcome execution_outcome = 1;
An enum value which indicates whether the execution returned a response object or not, or whether execution failed
hasSerializedReturnObject
boolean hasSerializedReturnObject()
required bytes serialized_return_object = 2;
A serialized object whose type depends on the ExecutionOutcome:
if VOID_RETURNED - serialized_return_object will be zero bytes
if VALUE_RETURNED - serialized_return_object will be a serialized object returned by the Callable object
if FAILURE - a serialized RuntimeException wrapping whatever exception caused execution to fail
getSerializedReturnObject
com.google.protobuf.ByteString getSerializedReturnObject()
required bytes serialized_return_object = 2;
A serialized object whose type depends on the ExecutionOutcome:
if VOID_RETURNED - serialized_return_object will be zero bytes
if VALUE_RETURNED - serialized_return_object will be a serialized object returned by the Callable object
if FAILURE - a serialized RuntimeException wrapping whatever exception caused execution to fail
hasSerializationFormat
boolean hasSerializationFormat()
required .com.googlecode.mobilityrpc.protocol.protobuf.SerializationFormat serialization_format = 3;
The serialized format of the return object e.g. whether Kryo or Java serialization was used
getSerializationFormat
ComponentSerializationFormat.SerializationFormat getSerializationFormat()
required .com.googlecode.mobilityrpc.protocol.protobuf.SerializationFormat serialization_format = 3;
The serialized format of the return object e.g. whether Kryo or Java serialization was used
hasRequestIdentifier
boolean hasRequestIdentifier()
required .com.googlecode.mobilityrpc.protocol.protobuf.RequestIdentifier request_identifier = 4;
The request identifier, copied from the corresponding execution request originally sent by the client
getRequestIdentifier
ComponentRequestIdentifier.RequestIdentifier getRequestIdentifier()
required .com.googlecode.mobilityrpc.protocol.protobuf.RequestIdentifier request_identifier = 4;
The request identifier, copied from the corresponding execution request originally sent by the client
getRequestIdentifierOrBuilder
ComponentRequestIdentifier.RequestIdentifierOrBuilder getRequestIdentifierOrBuilder()
required .com.googlecode.mobilityrpc.protocol.protobuf.RequestIdentifier request_identifier = 4;
The request identifier, copied from the corresponding execution request originally sent by the client
Copyright © 2016. All rights reserved.