public static final class PubSubProtocol.Message extends com.google.protobuf.GeneratedMessage implements PubSubProtocol.MessageOrBuilder
| Modifier and Type | Class and Description |
|---|---|
static class |
PubSubProtocol.Message.Builder |
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>| Modifier and Type | Field and Description |
|---|---|
static int |
BODY_FIELD_NUMBER |
static int |
HEADER_FIELD_NUMBER |
static int |
MSGID_FIELD_NUMBER |
static int |
SRCREGION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.ByteString |
getBody() |
static PubSubProtocol.Message |
getDefaultInstance() |
PubSubProtocol.Message |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
PubSubProtocol.MessageHeader |
getHeader() |
PubSubProtocol.MessageHeaderOrBuilder |
getHeaderOrBuilder() |
PubSubProtocol.MessageSeqId |
getMsgId() |
PubSubProtocol.MessageSeqIdOrBuilder |
getMsgIdOrBuilder() |
int |
getSerializedSize() |
com.google.protobuf.ByteString |
getSrcRegion() |
boolean |
hasBody() |
boolean |
hasHeader() |
boolean |
hasMsgId() |
boolean |
hasSrcRegion() |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static PubSubProtocol.Message.Builder |
newBuilder() |
static PubSubProtocol.Message.Builder |
newBuilder(PubSubProtocol.Message prototype) |
PubSubProtocol.Message.Builder |
newBuilderForType() |
protected PubSubProtocol.Message.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static PubSubProtocol.Message |
parseDelimitedFrom(InputStream input) |
static PubSubProtocol.Message |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PubSubProtocol.Message |
parseFrom(byte[] data) |
static PubSubProtocol.Message |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PubSubProtocol.Message |
parseFrom(com.google.protobuf.ByteString data) |
static PubSubProtocol.Message |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PubSubProtocol.Message |
parseFrom(com.google.protobuf.CodedInputStream input) |
static PubSubProtocol.Message |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PubSubProtocol.Message |
parseFrom(InputStream input) |
static PubSubProtocol.Message |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PubSubProtocol.Message.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtensionequals, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toStringtoByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int BODY_FIELD_NUMBER
public static final int SRCREGION_FIELD_NUMBER
public static final int MSGID_FIELD_NUMBER
public static final int HEADER_FIELD_NUMBER
public static PubSubProtocol.Message getDefaultInstance()
public PubSubProtocol.Message getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic boolean hasBody()
hasBody in interface PubSubProtocol.MessageOrBuilderpublic com.google.protobuf.ByteString getBody()
getBody in interface PubSubProtocol.MessageOrBuilderpublic boolean hasSrcRegion()
hasSrcRegion in interface PubSubProtocol.MessageOrBuilderpublic com.google.protobuf.ByteString getSrcRegion()
getSrcRegion in interface PubSubProtocol.MessageOrBuilderpublic boolean hasMsgId()
hasMsgId in interface PubSubProtocol.MessageOrBuilderpublic PubSubProtocol.MessageSeqId getMsgId()
getMsgId in interface PubSubProtocol.MessageOrBuilderpublic PubSubProtocol.MessageSeqIdOrBuilder getMsgIdOrBuilder()
getMsgIdOrBuilder in interface PubSubProtocol.MessageOrBuilderpublic boolean hasHeader()
hasHeader in interface PubSubProtocol.MessageOrBuilderpublic PubSubProtocol.MessageHeader getHeader()
getHeader in interface PubSubProtocol.MessageOrBuilderpublic PubSubProtocol.MessageHeaderOrBuilder getHeaderOrBuilder()
getHeaderOrBuilder in interface PubSubProtocol.MessageOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic static PubSubProtocol.Message parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PubSubProtocol.Message parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PubSubProtocol.Message parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PubSubProtocol.Message parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PubSubProtocol.Message parseFrom(InputStream input) throws IOException
IOExceptionpublic static PubSubProtocol.Message parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PubSubProtocol.Message parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PubSubProtocol.Message parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PubSubProtocol.Message parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static PubSubProtocol.Message parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PubSubProtocol.Message.Builder newBuilder()
public PubSubProtocol.Message.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static PubSubProtocol.Message.Builder newBuilder(PubSubProtocol.Message prototype)
public PubSubProtocol.Message.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected PubSubProtocol.Message.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2011-2014 The Apache Software Foundation. All Rights Reserved.