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