public static final class PubSubProtocol.Message
extends com.google.protobuf.GeneratedMessage
Modifier and Type | Class and Description |
---|---|
static class |
PubSubProtocol.Message.Builder |
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.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 |
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.MessageSeqId |
getMsgId() |
int |
getSerializedSize() |
com.google.protobuf.ByteString |
getSrcRegion() |
boolean |
hasBody() |
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() |
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() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, newGeneratedExtension
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int BODY_FIELD_NUMBER
public static final int SRCREGION_FIELD_NUMBER
public static final int MSGID_FIELD_NUMBER
public static PubSubProtocol.Message getDefaultInstance()
public PubSubProtocol.Message getDefaultInstanceForType()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public boolean hasBody()
public com.google.protobuf.ByteString getBody()
public boolean hasSrcRegion()
public com.google.protobuf.ByteString getSrcRegion()
public boolean hasMsgId()
public PubSubProtocol.MessageSeqId getMsgId()
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLite
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
public static PubSubProtocol.Message parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PubSubProtocol.Message parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PubSubProtocol.Message parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PubSubProtocol.Message parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PubSubProtocol.Message parseFrom(InputStream input) throws IOException
IOException
public static PubSubProtocol.Message parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static PubSubProtocol.Message parseDelimitedFrom(InputStream input) throws IOException
IOException
public static PubSubProtocol.Message parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static PubSubProtocol.Message parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static PubSubProtocol.Message parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static PubSubProtocol.Message.Builder newBuilder()
public PubSubProtocol.Message.Builder newBuilderForType()
public static PubSubProtocol.Message.Builder newBuilder(PubSubProtocol.Message prototype)
public PubSubProtocol.Message.Builder toBuilder()
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.