|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Message
Abstract interface implemented by Protocol Message GWT objects.
| Nested Class Summary | |
|---|---|
static interface |
Message.Builder
Abstract interface implemented by Protocol Message builders. |
| Method Summary | |
|---|---|
Message |
getDefaultInstanceForType()
Get an instance of the type with all fields set to their default values. |
boolean |
isInitialized()
Returns true if all required fields in the message and all embedded messages are set, false otherwise. |
Message.Builder |
newBuilderForType()
Constructs a new builder for a message of the same type as this message. |
Message.Builder |
toBuilder()
Constructs a builder initialized with the current message. |
void |
writeTo(JsonStream output)
Serializes the message and writes it to output. |
| Method Detail |
|---|
Message getDefaultInstanceForType()
getDefaultInstance() method of generated message classes in that this
method is an abstract method of the MessageLite interface whereas
getDefaultInstance() is a static method of a specific class. They
return the same thing.
boolean isInitialized()
void writeTo(JsonStream output)
throws IOException
output.
IOExceptionMessage.Builder newBuilderForType()
Message.Builder toBuilder()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||