public static final class PubSubProtocol.PubSubResponse extends com.google.protobuf.GeneratedMessage implements PubSubProtocol.PubSubResponseOrBuilder
Hedwig.PubSubResponse| Modifier and Type | Class and Description |
|---|---|
static class |
PubSubProtocol.PubSubResponse.Builder
Protobuf type
Hedwig.PubSubResponse |
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 com.google.protobuf.Parser<PubSubProtocol.PubSubResponse> |
PARSER |
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 |
| Modifier and Type | Method and Description |
|---|---|
static PubSubProtocol.PubSubResponse |
getDefaultInstance() |
PubSubProtocol.PubSubResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
PubSubProtocol.Message |
getMessage()
optional .Hedwig.Message message = 5; |
PubSubProtocol.MessageOrBuilder |
getMessageOrBuilder()
optional .Hedwig.Message message = 5; |
com.google.protobuf.Parser<PubSubProtocol.PubSubResponse> |
getParserForType() |
PubSubProtocol.ProtocolVersion |
getProtocolVersion()
required .Hedwig.ProtocolVersion protocolVersion = 1; |
PubSubProtocol.ResponseBody |
getResponseBody()
optional .Hedwig.ResponseBody responseBody = 8; |
PubSubProtocol.ResponseBodyOrBuilder |
getResponseBodyOrBuilder()
optional .Hedwig.ResponseBody responseBody = 8; |
int |
getSerializedSize() |
PubSubProtocol.StatusCode |
getStatusCode()
required .Hedwig.StatusCode statusCode = 2; |
String |
getStatusMsg()
optional string statusMsg = 4; |
com.google.protobuf.ByteString |
getStatusMsgBytes()
optional string statusMsg = 4; |
com.google.protobuf.ByteString |
getSubscriberId()
optional bytes subscriberId = 7; |
com.google.protobuf.ByteString |
getTopic()
optional bytes topic = 6; |
long |
getTxnId()
required uint64 txnId = 3; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasMessage()
optional .Hedwig.Message message = 5; |
boolean |
hasProtocolVersion()
required .Hedwig.ProtocolVersion protocolVersion = 1; |
boolean |
hasResponseBody()
optional .Hedwig.ResponseBody responseBody = 8; |
boolean |
hasStatusCode()
required .Hedwig.StatusCode statusCode = 2; |
boolean |
hasStatusMsg()
optional string statusMsg = 4; |
boolean |
hasSubscriberId()
optional bytes subscriberId = 7; |
boolean |
hasTopic()
optional bytes topic = 6; |
boolean |
hasTxnId()
required uint64 txnId = 3; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static PubSubProtocol.PubSubResponse.Builder |
newBuilder() |
static PubSubProtocol.PubSubResponse.Builder |
newBuilder(PubSubProtocol.PubSubResponse prototype) |
PubSubProtocol.PubSubResponse.Builder |
newBuilderForType() |
protected PubSubProtocol.PubSubResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static PubSubProtocol.PubSubResponse |
parseDelimitedFrom(InputStream input) |
static PubSubProtocol.PubSubResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PubSubProtocol.PubSubResponse |
parseFrom(byte[] data) |
static PubSubProtocol.PubSubResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PubSubProtocol.PubSubResponse |
parseFrom(com.google.protobuf.ByteString data) |
static PubSubProtocol.PubSubResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PubSubProtocol.PubSubResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static PubSubProtocol.PubSubResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PubSubProtocol.PubSubResponse |
parseFrom(InputStream input) |
static PubSubProtocol.PubSubResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PubSubProtocol.PubSubResponse.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldequals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toStringtoByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<PubSubProtocol.PubSubResponse> PARSER
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.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<PubSubProtocol.PubSubResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasProtocolVersion()
required .Hedwig.ProtocolVersion protocolVersion = 1;hasProtocolVersion in interface PubSubProtocol.PubSubResponseOrBuilderpublic PubSubProtocol.ProtocolVersion getProtocolVersion()
required .Hedwig.ProtocolVersion protocolVersion = 1;getProtocolVersion in interface PubSubProtocol.PubSubResponseOrBuilderpublic boolean hasStatusCode()
required .Hedwig.StatusCode statusCode = 2;hasStatusCode in interface PubSubProtocol.PubSubResponseOrBuilderpublic PubSubProtocol.StatusCode getStatusCode()
required .Hedwig.StatusCode statusCode = 2;getStatusCode in interface PubSubProtocol.PubSubResponseOrBuilderpublic boolean hasTxnId()
required uint64 txnId = 3;hasTxnId in interface PubSubProtocol.PubSubResponseOrBuilderpublic long getTxnId()
required uint64 txnId = 3;getTxnId in interface PubSubProtocol.PubSubResponseOrBuilderpublic boolean hasStatusMsg()
optional string statusMsg = 4;
in case of a status code of NOT_RESPONSIBLE_FOR_TOPIC, the status message will contain the name of the host actually responsible for the topic
hasStatusMsg in interface PubSubProtocol.PubSubResponseOrBuilderpublic String getStatusMsg()
optional string statusMsg = 4;
in case of a status code of NOT_RESPONSIBLE_FOR_TOPIC, the status message will contain the name of the host actually responsible for the topic
getStatusMsg in interface PubSubProtocol.PubSubResponseOrBuilderpublic com.google.protobuf.ByteString getStatusMsgBytes()
optional string statusMsg = 4;
in case of a status code of NOT_RESPONSIBLE_FOR_TOPIC, the status message will contain the name of the host actually responsible for the topic
getStatusMsgBytes in interface PubSubProtocol.PubSubResponseOrBuilderpublic boolean hasMessage()
optional .Hedwig.Message message = 5;
the following fields are sent in delivered messages
hasMessage in interface PubSubProtocol.PubSubResponseOrBuilderpublic PubSubProtocol.Message getMessage()
optional .Hedwig.Message message = 5;
the following fields are sent in delivered messages
getMessage in interface PubSubProtocol.PubSubResponseOrBuilderpublic PubSubProtocol.MessageOrBuilder getMessageOrBuilder()
optional .Hedwig.Message message = 5;
the following fields are sent in delivered messages
getMessageOrBuilder in interface PubSubProtocol.PubSubResponseOrBuilderpublic boolean hasTopic()
optional bytes topic = 6;hasTopic in interface PubSubProtocol.PubSubResponseOrBuilderpublic com.google.protobuf.ByteString getTopic()
optional bytes topic = 6;getTopic in interface PubSubProtocol.PubSubResponseOrBuilderpublic boolean hasSubscriberId()
optional bytes subscriberId = 7;hasSubscriberId in interface PubSubProtocol.PubSubResponseOrBuilderpublic com.google.protobuf.ByteString getSubscriberId()
optional bytes subscriberId = 7;getSubscriberId in interface PubSubProtocol.PubSubResponseOrBuilderpublic boolean hasResponseBody()
optional .Hedwig.ResponseBody responseBody = 8;
the following fields are sent by other requests
hasResponseBody in interface PubSubProtocol.PubSubResponseOrBuilderpublic PubSubProtocol.ResponseBody getResponseBody()
optional .Hedwig.ResponseBody responseBody = 8;
the following fields are sent by other requests
getResponseBody in interface PubSubProtocol.PubSubResponseOrBuilderpublic PubSubProtocol.ResponseBodyOrBuilder getResponseBodyOrBuilder()
optional .Hedwig.ResponseBody responseBody = 8;
the following fields are sent by other requests
getResponseBodyOrBuilder in interface PubSubProtocol.PubSubResponseOrBuilderpublic 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.PubSubResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PubSubProtocol.PubSubResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PubSubProtocol.PubSubResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PubSubProtocol.PubSubResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PubSubProtocol.PubSubResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static PubSubProtocol.PubSubResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PubSubProtocol.PubSubResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PubSubProtocol.PubSubResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PubSubProtocol.PubSubResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static PubSubProtocol.PubSubResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PubSubProtocol.PubSubResponse.Builder newBuilder()
public PubSubProtocol.PubSubResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static PubSubProtocol.PubSubResponse.Builder newBuilder(PubSubProtocol.PubSubResponse prototype)
public PubSubProtocol.PubSubResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected PubSubProtocol.PubSubResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2014 The Apache Software Foundation. All rights reserved.