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, parseUnknownField
equals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<PubSubProtocol.PubSubResponse> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasProtocolVersion()
required .Hedwig.ProtocolVersion protocolVersion = 1;
hasProtocolVersion
in interface PubSubProtocol.PubSubResponseOrBuilder
public PubSubProtocol.ProtocolVersion getProtocolVersion()
required .Hedwig.ProtocolVersion protocolVersion = 1;
getProtocolVersion
in interface PubSubProtocol.PubSubResponseOrBuilder
public boolean hasStatusCode()
required .Hedwig.StatusCode statusCode = 2;
hasStatusCode
in interface PubSubProtocol.PubSubResponseOrBuilder
public PubSubProtocol.StatusCode getStatusCode()
required .Hedwig.StatusCode statusCode = 2;
getStatusCode
in interface PubSubProtocol.PubSubResponseOrBuilder
public boolean hasTxnId()
required uint64 txnId = 3;
hasTxnId
in interface PubSubProtocol.PubSubResponseOrBuilder
public long getTxnId()
required uint64 txnId = 3;
getTxnId
in interface PubSubProtocol.PubSubResponseOrBuilder
public 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.PubSubResponseOrBuilder
public 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.PubSubResponseOrBuilder
public 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.PubSubResponseOrBuilder
public boolean hasMessage()
optional .Hedwig.Message message = 5;
the following fields are sent in delivered messages
hasMessage
in interface PubSubProtocol.PubSubResponseOrBuilder
public PubSubProtocol.Message getMessage()
optional .Hedwig.Message message = 5;
the following fields are sent in delivered messages
getMessage
in interface PubSubProtocol.PubSubResponseOrBuilder
public PubSubProtocol.MessageOrBuilder getMessageOrBuilder()
optional .Hedwig.Message message = 5;
the following fields are sent in delivered messages
getMessageOrBuilder
in interface PubSubProtocol.PubSubResponseOrBuilder
public boolean hasTopic()
optional bytes topic = 6;
hasTopic
in interface PubSubProtocol.PubSubResponseOrBuilder
public com.google.protobuf.ByteString getTopic()
optional bytes topic = 6;
getTopic
in interface PubSubProtocol.PubSubResponseOrBuilder
public boolean hasSubscriberId()
optional bytes subscriberId = 7;
hasSubscriberId
in interface PubSubProtocol.PubSubResponseOrBuilder
public com.google.protobuf.ByteString getSubscriberId()
optional bytes subscriberId = 7;
getSubscriberId
in interface PubSubProtocol.PubSubResponseOrBuilder
public boolean hasResponseBody()
optional .Hedwig.ResponseBody responseBody = 8;
the following fields are sent by other requests
hasResponseBody
in interface PubSubProtocol.PubSubResponseOrBuilder
public PubSubProtocol.ResponseBody getResponseBody()
optional .Hedwig.ResponseBody responseBody = 8;
the following fields are sent by other requests
getResponseBody
in interface PubSubProtocol.PubSubResponseOrBuilder
public PubSubProtocol.ResponseBodyOrBuilder getResponseBodyOrBuilder()
optional .Hedwig.ResponseBody responseBody = 8;
the following fields are sent by other requests
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 © 2018 The Apache Software Foundation. All rights reserved.