com.googlecode.mobilityrpc.protocol.protobuf
Class MessagePong.Pong
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.googlecode.mobilityrpc.protocol.protobuf.MessagePong.Pong
- All Implemented Interfaces:
- com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, MessagePong.PongOrBuilder, Serializable
- Enclosing class:
- MessagePong
public static final class MessagePong.Pong
- extends com.google.protobuf.GeneratedMessage
- implements MessagePong.PongOrBuilder
Protobuf type com.googlecode.mobilityrpc.protocol.protobuf.Pong
A message sent by the machine at the remote side of a connection
in response to a Ping message
- See Also:
- Serialized Form
|
Nested Class Summary |
static class |
MessagePong.Pong.Builder
Protobuf type com.googlecode.mobilityrpc.protocol.protobuf.Pong |
| 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> |
| 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 |
| 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 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 |
REQUEST_ID_FIELD_NUMBER
public static final int REQUEST_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
PARSER
@Deprecated
public static final com.google.protobuf.Parser<MessagePong.Pong> PARSER
- Deprecated.
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
hasRequestId
public boolean hasRequestId()
required .com.googlecode.mobilityrpc.protocol.protobuf.UUID request_id = 1;
The request_id sent by the client when it sent the Ping request
to which this Pong message is the reply
- Specified by:
hasRequestId in interface MessagePong.PongOrBuilder
getRequestId
public ComponentUuid.UUID getRequestId()
required .com.googlecode.mobilityrpc.protocol.protobuf.UUID request_id = 1;
The request_id sent by the client when it sent the Ping request
to which this Pong message is the reply
- Specified by:
getRequestId in interface MessagePong.PongOrBuilder
getRequestIdOrBuilder
public ComponentUuid.UUIDOrBuilder getRequestIdOrBuilder()
required .com.googlecode.mobilityrpc.protocol.protobuf.UUID request_id = 1;
The request_id sent by the client when it sent the Ping request
to which this Pong message is the reply
- Specified by:
getRequestIdOrBuilder in interface MessagePong.PongOrBuilder
hasMessage
public boolean hasMessage()
required string message = 2;
An arbitrary string which can be sent for debugging purposes
- Specified by:
hasMessage in interface MessagePong.PongOrBuilder
getMessage
public String getMessage()
required string message = 2;
An arbitrary string which can be sent for debugging purposes
- Specified by:
getMessage in interface MessagePong.PongOrBuilder
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()
required string message = 2;
An arbitrary string which can be sent for debugging purposes
- Specified by:
getMessageBytes in interface MessagePong.PongOrBuilder
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 MessagePong.Pong parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static MessagePong.Pong parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static MessagePong.Pong parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static MessagePong.Pong parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static MessagePong.Pong parseFrom(InputStream input)
throws IOException
- Throws:
IOException
parseFrom
public static MessagePong.Pong parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Throws:
IOException
parseDelimitedFrom
public static MessagePong.Pong parseDelimitedFrom(InputStream input)
throws IOException
- Throws:
IOException
parseDelimitedFrom
public static MessagePong.Pong parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Throws:
IOException
parseFrom
public static MessagePong.Pong parseFrom(com.google.protobuf.CodedInputStream input)
throws IOException
- Throws:
IOException
parseFrom
public static MessagePong.Pong parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Throws:
IOException
newBuilderForType
public MessagePong.Pong.Builder newBuilderForType()
- Specified by:
newBuilderForType in interface com.google.protobuf.Message- Specified by:
newBuilderForType in interface com.google.protobuf.MessageLite
newBuilder
public static MessagePong.Pong.Builder newBuilder()
newBuilder
public static MessagePong.Pong.Builder newBuilder(MessagePong.Pong prototype)
toBuilder
public MessagePong.Pong.Builder toBuilder()
- Specified by:
toBuilder in interface com.google.protobuf.Message- Specified by:
toBuilder in interface com.google.protobuf.MessageLite
newBuilderForType
protected MessagePong.Pong.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
- Specified by:
newBuilderForType in class com.google.protobuf.GeneratedMessage
getDefaultInstance
public static MessagePong.Pong getDefaultInstance()
parser
public static com.google.protobuf.Parser<MessagePong.Pong> parser()
getParserForType
public com.google.protobuf.Parser<MessagePong.Pong> 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 MessagePong.Pong getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
Copyright © 2016. All rights reserved.