com.googlecode.mobilityrpc.protocol.protobuf
Class MessageExecutionResponse.ExecutionResponse

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite
      extended by com.google.protobuf.AbstractMessage
          extended by com.google.protobuf.GeneratedMessage
              extended by com.googlecode.mobilityrpc.protocol.protobuf.MessageExecutionResponse.ExecutionResponse
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, MessageExecutionResponse.ExecutionResponseOrBuilder, Serializable
Enclosing class:
MessageExecutionResponse

public static final class MessageExecutionResponse.ExecutionResponse
extends com.google.protobuf.GeneratedMessage
implements MessageExecutionResponse.ExecutionResponseOrBuilder

Protobuf type com.googlecode.mobilityrpc.protocol.protobuf.ExecutionResponse

See Also:
Serialized Form

Nested Class Summary
static class MessageExecutionResponse.ExecutionResponse.Builder
          Protobuf type com.googlecode.mobilityrpc.protocol.protobuf.ExecutionResponse
static class MessageExecutionResponse.ExecutionResponse.ExecutionOutcome
          Protobuf enum com.googlecode.mobilityrpc.protocol.protobuf.ExecutionResponse.ExecutionOutcome
 
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>
 
Field Summary
static int EXECUTION_OUTCOME_FIELD_NUMBER
           
static com.google.protobuf.Parser<MessageExecutionResponse.ExecutionResponse> PARSER
          Deprecated. 
static int REQUEST_IDENTIFIER_FIELD_NUMBER
           
static int SERIALIZATION_FORMAT_FIELD_NUMBER
           
static int SERIALIZED_RETURN_OBJECT_FIELD_NUMBER
           
 
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFields
 
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
 
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
 
Method Summary
static MessageExecutionResponse.ExecutionResponse getDefaultInstance()
           
 MessageExecutionResponse.ExecutionResponse getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 MessageExecutionResponse.ExecutionResponse.ExecutionOutcome getExecutionOutcome()
          required .com.googlecode.mobilityrpc.protocol.protobuf.ExecutionResponse.ExecutionOutcome execution_outcome = 1;
 com.google.protobuf.Parser<MessageExecutionResponse.ExecutionResponse> getParserForType()
           
 ComponentRequestIdentifier.RequestIdentifier getRequestIdentifier()
          required .com.googlecode.mobilityrpc.protocol.protobuf.RequestIdentifier request_identifier = 4;
 ComponentRequestIdentifier.RequestIdentifierOrBuilder getRequestIdentifierOrBuilder()
          required .com.googlecode.mobilityrpc.protocol.protobuf.RequestIdentifier request_identifier = 4;
 ComponentSerializationFormat.SerializationFormat getSerializationFormat()
          required .com.googlecode.mobilityrpc.protocol.protobuf.SerializationFormat serialization_format = 3;
 com.google.protobuf.ByteString getSerializedReturnObject()
          required bytes serialized_return_object = 2;
 int getSerializedSize()
           
 com.google.protobuf.UnknownFieldSet getUnknownFields()
           
 boolean hasExecutionOutcome()
          required .com.googlecode.mobilityrpc.protocol.protobuf.ExecutionResponse.ExecutionOutcome execution_outcome = 1;
 boolean hasRequestIdentifier()
          required .com.googlecode.mobilityrpc.protocol.protobuf.RequestIdentifier request_identifier = 4;
 boolean hasSerializationFormat()
          required .com.googlecode.mobilityrpc.protocol.protobuf.SerializationFormat serialization_format = 3;
 boolean hasSerializedReturnObject()
          required bytes serialized_return_object = 2;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
static MessageExecutionResponse.ExecutionResponse.Builder newBuilder()
           
static MessageExecutionResponse.ExecutionResponse.Builder newBuilder(MessageExecutionResponse.ExecutionResponse prototype)
           
 MessageExecutionResponse.ExecutionResponse.Builder newBuilderForType()
           
protected  MessageExecutionResponse.ExecutionResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
           
static MessageExecutionResponse.ExecutionResponse parseDelimitedFrom(InputStream input)
           
static MessageExecutionResponse.ExecutionResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static MessageExecutionResponse.ExecutionResponse parseFrom(byte[] data)
           
static MessageExecutionResponse.ExecutionResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static MessageExecutionResponse.ExecutionResponse parseFrom(com.google.protobuf.ByteString data)
           
static MessageExecutionResponse.ExecutionResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static MessageExecutionResponse.ExecutionResponse parseFrom(com.google.protobuf.CodedInputStream input)
           
static MessageExecutionResponse.ExecutionResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static MessageExecutionResponse.ExecutionResponse parseFrom(InputStream input)
           
static MessageExecutionResponse.ExecutionResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static com.google.protobuf.Parser<MessageExecutionResponse.ExecutionResponse> parser()
           
 MessageExecutionResponse.ExecutionResponse.Builder toBuilder()
           
 void writeTo(com.google.protobuf.CodedOutputStream output)
           
 
Methods inherited from class com.google.protobuf.GeneratedMessage
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField, writeReplace, writeString, writeStringNoTag
 
Methods inherited from class com.google.protobuf.AbstractMessage
equals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toString
 
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
 
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
 

Field Detail

EXECUTION_OUTCOME_FIELD_NUMBER

public static final int EXECUTION_OUTCOME_FIELD_NUMBER
See Also:
Constant Field Values

SERIALIZED_RETURN_OBJECT_FIELD_NUMBER

public static final int SERIALIZED_RETURN_OBJECT_FIELD_NUMBER
See Also:
Constant Field Values

SERIALIZATION_FORMAT_FIELD_NUMBER

public static final int SERIALIZATION_FORMAT_FIELD_NUMBER
See Also:
Constant Field Values

REQUEST_IDENTIFIER_FIELD_NUMBER

public static final int REQUEST_IDENTIFIER_FIELD_NUMBER
See Also:
Constant Field Values

PARSER

@Deprecated
public static final com.google.protobuf.Parser<MessageExecutionResponse.ExecutionResponse> PARSER
Deprecated. 
Method Detail

getUnknownFields

public final com.google.protobuf.UnknownFieldSet getUnknownFields()
Specified by:
getUnknownFields in interface com.google.protobuf.MessageOrBuilder
Overrides:
getUnknownFields in class com.google.protobuf.GeneratedMessage

getDescriptor

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Specified by:
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage

hasExecutionOutcome

public 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
 

Specified by:
hasExecutionOutcome in interface MessageExecutionResponse.ExecutionResponseOrBuilder

getExecutionOutcome

public 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
 

Specified by:
getExecutionOutcome in interface MessageExecutionResponse.ExecutionResponseOrBuilder

hasSerializedReturnObject

public 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
 

Specified by:
hasSerializedReturnObject in interface MessageExecutionResponse.ExecutionResponseOrBuilder

getSerializedReturnObject

public 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
 

Specified by:
getSerializedReturnObject in interface MessageExecutionResponse.ExecutionResponseOrBuilder

hasSerializationFormat

public 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
 

Specified by:
hasSerializationFormat in interface MessageExecutionResponse.ExecutionResponseOrBuilder

getSerializationFormat

public 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
 

Specified by:
getSerializationFormat in interface MessageExecutionResponse.ExecutionResponseOrBuilder

hasRequestIdentifier

public 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
 

Specified by:
hasRequestIdentifier in interface MessageExecutionResponse.ExecutionResponseOrBuilder

getRequestIdentifier

public 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
 

Specified by:
getRequestIdentifier in interface MessageExecutionResponse.ExecutionResponseOrBuilder

getRequestIdentifierOrBuilder

public 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
 

Specified by:
getRequestIdentifierOrBuilder in interface MessageExecutionResponse.ExecutionResponseOrBuilder

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage

writeTo

public void writeTo(com.google.protobuf.CodedOutputStream output)
             throws IOException
Specified by:
writeTo in interface com.google.protobuf.MessageLite
Overrides:
writeTo in class com.google.protobuf.GeneratedMessage
Throws:
IOException

getSerializedSize

public int getSerializedSize()
Specified by:
getSerializedSize in interface com.google.protobuf.MessageLite
Overrides:
getSerializedSize in class com.google.protobuf.GeneratedMessage

parseFrom

public static MessageExecutionResponse.ExecutionResponse parseFrom(com.google.protobuf.ByteString data)
                                                            throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static MessageExecutionResponse.ExecutionResponse parseFrom(com.google.protobuf.ByteString data,
                                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                            throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static MessageExecutionResponse.ExecutionResponse parseFrom(byte[] data)
                                                            throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static MessageExecutionResponse.ExecutionResponse parseFrom(byte[] data,
                                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                            throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static MessageExecutionResponse.ExecutionResponse parseFrom(InputStream input)
                                                            throws IOException
Throws:
IOException

parseFrom

public static MessageExecutionResponse.ExecutionResponse parseFrom(InputStream input,
                                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                            throws IOException
Throws:
IOException

parseDelimitedFrom

public static MessageExecutionResponse.ExecutionResponse parseDelimitedFrom(InputStream input)
                                                                     throws IOException
Throws:
IOException

parseDelimitedFrom

public static MessageExecutionResponse.ExecutionResponse parseDelimitedFrom(InputStream input,
                                                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                     throws IOException
Throws:
IOException

parseFrom

public static MessageExecutionResponse.ExecutionResponse parseFrom(com.google.protobuf.CodedInputStream input)
                                                            throws IOException
Throws:
IOException

parseFrom

public static MessageExecutionResponse.ExecutionResponse parseFrom(com.google.protobuf.CodedInputStream input,
                                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                            throws IOException
Throws:
IOException

newBuilderForType

public MessageExecutionResponse.ExecutionResponse.Builder newBuilderForType()
Specified by:
newBuilderForType in interface com.google.protobuf.Message
Specified by:
newBuilderForType in interface com.google.protobuf.MessageLite

newBuilder

public static MessageExecutionResponse.ExecutionResponse.Builder newBuilder()

newBuilder

public static MessageExecutionResponse.ExecutionResponse.Builder newBuilder(MessageExecutionResponse.ExecutionResponse prototype)

toBuilder

public MessageExecutionResponse.ExecutionResponse.Builder toBuilder()
Specified by:
toBuilder in interface com.google.protobuf.Message
Specified by:
toBuilder in interface com.google.protobuf.MessageLite

newBuilderForType

protected MessageExecutionResponse.ExecutionResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
Specified by:
newBuilderForType in class com.google.protobuf.GeneratedMessage

getDefaultInstance

public static MessageExecutionResponse.ExecutionResponse getDefaultInstance()

parser

public static com.google.protobuf.Parser<MessageExecutionResponse.ExecutionResponse> parser()

getParserForType

public com.google.protobuf.Parser<MessageExecutionResponse.ExecutionResponse> getParserForType()
Specified by:
getParserForType in interface com.google.protobuf.Message
Specified by:
getParserForType in interface com.google.protobuf.MessageLite
Overrides:
getParserForType in class com.google.protobuf.GeneratedMessage

getDefaultInstanceForType

public MessageExecutionResponse.ExecutionResponse getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder


Copyright © 2016. All rights reserved.