public static final class PubSubProtocol.PubSubResponse extends com.google.protobuf.GeneratedMessage implements PubSubProtocol.PubSubResponseOrBuilder
Modifier and Type | Class and Description |
---|---|
static class |
PubSubProtocol.PubSubResponse.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 |
MESSAGE_FIELD_NUMBER |
static int |
PROTOCOLVERSION_FIELD_NUMBER |
static int |
RESPONSEBODY_FIELD_NUMBER |
static int |
STATUSCODE_FIELD_NUMBER |
static int |
STATUSMSG_FIELD_NUMBER |
static int |
SUBSCRIBERID_FIELD_NUMBER |
static int |
TOPIC_FIELD_NUMBER |
static int |
TXNID_FIELD_NUMBER |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension
equals, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int PROTOCOLVERSION_FIELD_NUMBER
public static final int STATUSCODE_FIELD_NUMBER
public static final int TXNID_FIELD_NUMBER
public static final int STATUSMSG_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
public static final int TOPIC_FIELD_NUMBER
public static final int SUBSCRIBERID_FIELD_NUMBER
public static final int RESPONSEBODY_FIELD_NUMBER
public static PubSubProtocol.PubSubResponse getDefaultInstance()
public PubSubProtocol.PubSubResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
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 hasProtocolVersion()
hasProtocolVersion
in interface PubSubProtocol.PubSubResponseOrBuilder
public PubSubProtocol.ProtocolVersion getProtocolVersion()
getProtocolVersion
in interface PubSubProtocol.PubSubResponseOrBuilder
public boolean hasStatusCode()
hasStatusCode
in interface PubSubProtocol.PubSubResponseOrBuilder
public PubSubProtocol.StatusCode getStatusCode()
getStatusCode
in interface PubSubProtocol.PubSubResponseOrBuilder
public boolean hasTxnId()
hasTxnId
in interface PubSubProtocol.PubSubResponseOrBuilder
public long getTxnId()
getTxnId
in interface PubSubProtocol.PubSubResponseOrBuilder
public boolean hasStatusMsg()
hasStatusMsg
in interface PubSubProtocol.PubSubResponseOrBuilder
public String getStatusMsg()
getStatusMsg
in interface PubSubProtocol.PubSubResponseOrBuilder
public boolean hasMessage()
hasMessage
in interface PubSubProtocol.PubSubResponseOrBuilder
public PubSubProtocol.Message getMessage()
getMessage
in interface PubSubProtocol.PubSubResponseOrBuilder
public PubSubProtocol.MessageOrBuilder getMessageOrBuilder()
getMessageOrBuilder
in interface PubSubProtocol.PubSubResponseOrBuilder
public boolean hasTopic()
hasTopic
in interface PubSubProtocol.PubSubResponseOrBuilder
public com.google.protobuf.ByteString getTopic()
getTopic
in interface PubSubProtocol.PubSubResponseOrBuilder
public boolean hasSubscriberId()
hasSubscriberId
in interface PubSubProtocol.PubSubResponseOrBuilder
public com.google.protobuf.ByteString getSubscriberId()
getSubscriberId
in interface PubSubProtocol.PubSubResponseOrBuilder
public boolean hasResponseBody()
hasResponseBody
in interface PubSubProtocol.PubSubResponseOrBuilder
public PubSubProtocol.ResponseBody getResponseBody()
getResponseBody
in interface PubSubProtocol.PubSubResponseOrBuilder
public PubSubProtocol.ResponseBodyOrBuilder getResponseBodyOrBuilder()
getResponseBodyOrBuilder
in interface PubSubProtocol.PubSubResponseOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
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
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public static PubSubProtocol.PubSubResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PubSubProtocol.PubSubResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PubSubProtocol.PubSubResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PubSubProtocol.PubSubResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PubSubProtocol.PubSubResponse parseFrom(InputStream input) throws IOException
IOException
public static PubSubProtocol.PubSubResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static PubSubProtocol.PubSubResponse parseDelimitedFrom(InputStream input) throws IOException
IOException
public static PubSubProtocol.PubSubResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static PubSubProtocol.PubSubResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static PubSubProtocol.PubSubResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static PubSubProtocol.PubSubResponse.Builder newBuilder()
public PubSubProtocol.PubSubResponse.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static PubSubProtocol.PubSubResponse.Builder newBuilder(PubSubProtocol.PubSubResponse prototype)
public PubSubProtocol.PubSubResponse.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected PubSubProtocol.PubSubResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2011-2014 The Apache Software Foundation. All Rights Reserved.