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

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

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

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


Method Summary
 MessageExecutionResponse.ExecutionResponse build()
           
 MessageExecutionResponse.ExecutionResponse buildPartial()
           
 MessageExecutionResponse.ExecutionResponse.Builder clear()
           
 MessageExecutionResponse.ExecutionResponse.Builder clearExecutionOutcome()
          required .com.googlecode.mobilityrpc.protocol.protobuf.ExecutionResponse.ExecutionOutcome execution_outcome = 1;
 MessageExecutionResponse.ExecutionResponse.Builder clearRequestIdentifier()
          required .com.googlecode.mobilityrpc.protocol.protobuf.RequestIdentifier request_identifier = 4;
 MessageExecutionResponse.ExecutionResponse.Builder clearSerializationFormat()
          required .com.googlecode.mobilityrpc.protocol.protobuf.SerializationFormat serialization_format = 3;
 MessageExecutionResponse.ExecutionResponse.Builder clearSerializedReturnObject()
          required bytes serialized_return_object = 2;
 MessageExecutionResponse.ExecutionResponse getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 MessageExecutionResponse.ExecutionResponse.ExecutionOutcome getExecutionOutcome()
          required .com.googlecode.mobilityrpc.protocol.protobuf.ExecutionResponse.ExecutionOutcome execution_outcome = 1;
 ComponentRequestIdentifier.RequestIdentifier getRequestIdentifier()
          required .com.googlecode.mobilityrpc.protocol.protobuf.RequestIdentifier request_identifier = 4;
 ComponentRequestIdentifier.RequestIdentifier.Builder getRequestIdentifierBuilder()
          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;
 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()
           
 MessageExecutionResponse.ExecutionResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 MessageExecutionResponse.ExecutionResponse.Builder mergeFrom(com.google.protobuf.Message other)
           
 MessageExecutionResponse.ExecutionResponse.Builder mergeFrom(MessageExecutionResponse.ExecutionResponse other)
           
 MessageExecutionResponse.ExecutionResponse.Builder mergeRequestIdentifier(ComponentRequestIdentifier.RequestIdentifier value)
          required .com.googlecode.mobilityrpc.protocol.protobuf.RequestIdentifier request_identifier = 4;
 MessageExecutionResponse.ExecutionResponse.Builder setExecutionOutcome(MessageExecutionResponse.ExecutionResponse.ExecutionOutcome value)
          required .com.googlecode.mobilityrpc.protocol.protobuf.ExecutionResponse.ExecutionOutcome execution_outcome = 1;
 MessageExecutionResponse.ExecutionResponse.Builder setRequestIdentifier(ComponentRequestIdentifier.RequestIdentifier.Builder builderForValue)
          required .com.googlecode.mobilityrpc.protocol.protobuf.RequestIdentifier request_identifier = 4;
 MessageExecutionResponse.ExecutionResponse.Builder setRequestIdentifier(ComponentRequestIdentifier.RequestIdentifier value)
          required .com.googlecode.mobilityrpc.protocol.protobuf.RequestIdentifier request_identifier = 4;
 MessageExecutionResponse.ExecutionResponse.Builder setSerializationFormat(ComponentSerializationFormat.SerializationFormat value)
          required .com.googlecode.mobilityrpc.protocol.protobuf.SerializationFormat serialization_format = 3;
 MessageExecutionResponse.ExecutionResponse.Builder setSerializedReturnObject(com.google.protobuf.ByteString value)
          required bytes serialized_return_object = 2;
 
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
 
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
 
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, newUninitializedMessageException
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
 

Method Detail

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.Builder<MessageExecutionResponse.ExecutionResponse.Builder>

clear

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

getDescriptorForType

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
Specified by:
getDescriptorForType in interface com.google.protobuf.Message.Builder
Specified by:
getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
Overrides:
getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<MessageExecutionResponse.ExecutionResponse.Builder>

getDefaultInstanceForType

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

build

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

buildPartial

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

mergeFrom

public MessageExecutionResponse.ExecutionResponse.Builder mergeFrom(com.google.protobuf.Message other)
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MessageExecutionResponse.ExecutionResponse.Builder>

mergeFrom

public MessageExecutionResponse.ExecutionResponse.Builder mergeFrom(MessageExecutionResponse.ExecutionResponse other)

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage.Builder<MessageExecutionResponse.ExecutionResponse.Builder>

mergeFrom

public MessageExecutionResponse.ExecutionResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
                                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                             throws IOException
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Specified by:
mergeFrom in interface com.google.protobuf.MessageLite.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MessageExecutionResponse.ExecutionResponse.Builder>
Throws:
IOException

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

setExecutionOutcome

public MessageExecutionResponse.ExecutionResponse.Builder setExecutionOutcome(MessageExecutionResponse.ExecutionResponse.ExecutionOutcome value)
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
 


clearExecutionOutcome

public MessageExecutionResponse.ExecutionResponse.Builder clearExecutionOutcome()
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

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

setSerializedReturnObject

public MessageExecutionResponse.ExecutionResponse.Builder setSerializedReturnObject(com.google.protobuf.ByteString value)
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
 


clearSerializedReturnObject

public MessageExecutionResponse.ExecutionResponse.Builder clearSerializedReturnObject()
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

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

setSerializationFormat

public MessageExecutionResponse.ExecutionResponse.Builder setSerializationFormat(ComponentSerializationFormat.SerializationFormat value)
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
 


clearSerializationFormat

public MessageExecutionResponse.ExecutionResponse.Builder clearSerializationFormat()
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

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

setRequestIdentifier

public MessageExecutionResponse.ExecutionResponse.Builder setRequestIdentifier(ComponentRequestIdentifier.RequestIdentifier value)
required .com.googlecode.mobilityrpc.protocol.protobuf.RequestIdentifier request_identifier = 4;
 The request identifier, copied from the corresponding execution request originally sent by the client
 


setRequestIdentifier

public MessageExecutionResponse.ExecutionResponse.Builder setRequestIdentifier(ComponentRequestIdentifier.RequestIdentifier.Builder builderForValue)
required .com.googlecode.mobilityrpc.protocol.protobuf.RequestIdentifier request_identifier = 4;
 The request identifier, copied from the corresponding execution request originally sent by the client
 


mergeRequestIdentifier

public MessageExecutionResponse.ExecutionResponse.Builder mergeRequestIdentifier(ComponentRequestIdentifier.RequestIdentifier value)
required .com.googlecode.mobilityrpc.protocol.protobuf.RequestIdentifier request_identifier = 4;
 The request identifier, copied from the corresponding execution request originally sent by the client
 


clearRequestIdentifier

public MessageExecutionResponse.ExecutionResponse.Builder clearRequestIdentifier()
required .com.googlecode.mobilityrpc.protocol.protobuf.RequestIdentifier request_identifier = 4;
 The request identifier, copied from the corresponding execution request originally sent by the client
 


getRequestIdentifierBuilder

public ComponentRequestIdentifier.RequestIdentifier.Builder getRequestIdentifierBuilder()
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

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


Copyright © 2016. All rights reserved.