public static final class PubSubProtocol.PubSubResponse extends com.google.protobuf.GeneratedMessageV3 implements PubSubProtocol.PubSubResponseOrBuilder
Hedwig.PubSubResponse| Modifier and Type | Class and Description |
|---|---|
static class |
PubSubProtocol.PubSubResponse.Builder
Protobuf type
Hedwig.PubSubResponse |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
MESSAGE_FIELD_NUMBER |
static com.google.protobuf.Parser<PubSubProtocol.PubSubResponse> |
PARSER
Deprecated.
|
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 |
|---|---|
boolean |
equals(Object obj) |
static PubSubProtocol.PubSubResponse |
getDefaultInstance() |
PubSubProtocol.PubSubResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
PubSubProtocol.Message |
getMessage()
the following fields are sent in delivered messages
|
PubSubProtocol.MessageOrBuilder |
getMessageOrBuilder()
the following fields are sent in delivered messages
|
com.google.protobuf.Parser<PubSubProtocol.PubSubResponse> |
getParserForType() |
PubSubProtocol.ProtocolVersion |
getProtocolVersion()
required .Hedwig.ProtocolVersion protocolVersion = 1; |
PubSubProtocol.ResponseBody |
getResponseBody()
the following fields are sent by other requests
|
PubSubProtocol.ResponseBodyOrBuilder |
getResponseBodyOrBuilder()
the following fields are sent by other requests
|
int |
getSerializedSize() |
PubSubProtocol.StatusCode |
getStatusCode()
required .Hedwig.StatusCode statusCode = 2; |
String |
getStatusMsg()
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
|
com.google.protobuf.ByteString |
getStatusMsgBytes()
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
|
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() |
int |
hashCode() |
boolean |
hasMessage()
the following fields are sent in delivered messages
|
boolean |
hasProtocolVersion()
required .Hedwig.ProtocolVersion protocolVersion = 1; |
boolean |
hasResponseBody()
the following fields are sent by other requests
|
boolean |
hasStatusCode()
required .Hedwig.StatusCode statusCode = 2; |
boolean |
hasStatusMsg()
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
|
boolean |
hasSubscriberId()
optional bytes subscriberId = 7; |
boolean |
hasTopic()
optional bytes topic = 6; |
boolean |
hasTxnId()
required uint64 txnId = 3; |
protected com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
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(ByteBuffer data) |
static PubSubProtocol.PubSubResponse |
parseFrom(ByteBuffer 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) |
static com.google.protobuf.Parser<PubSubProtocol.PubSubResponse> |
parser() |
PubSubProtocol.PubSubResponse.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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
@Deprecated public static final com.google.protobuf.Parser<PubSubProtocol.PubSubResponse> PARSER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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()
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
optional string statusMsg = 4;hasStatusMsg in interface PubSubProtocol.PubSubResponseOrBuilderpublic String getStatusMsg()
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
optional string statusMsg = 4;getStatusMsg in interface PubSubProtocol.PubSubResponseOrBuilderpublic com.google.protobuf.ByteString getStatusMsgBytes()
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
optional string statusMsg = 4;getStatusMsgBytes in interface PubSubProtocol.PubSubResponseOrBuilderpublic boolean hasMessage()
the following fields are sent in delivered messages
optional .Hedwig.Message message = 5;hasMessage in interface PubSubProtocol.PubSubResponseOrBuilderpublic PubSubProtocol.Message getMessage()
the following fields are sent in delivered messages
optional .Hedwig.Message message = 5;getMessage in interface PubSubProtocol.PubSubResponseOrBuilderpublic PubSubProtocol.MessageOrBuilder getMessageOrBuilder()
the following fields are sent in delivered messages
optional .Hedwig.Message message = 5;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()
the following fields are sent by other requests
optional .Hedwig.ResponseBody responseBody = 8;hasResponseBody in interface PubSubProtocol.PubSubResponseOrBuilderpublic PubSubProtocol.ResponseBody getResponseBody()
the following fields are sent by other requests
optional .Hedwig.ResponseBody responseBody = 8;getResponseBody in interface PubSubProtocol.PubSubResponseOrBuilderpublic PubSubProtocol.ResponseBodyOrBuilder getResponseBodyOrBuilder()
the following fields are sent by other requests
optional .Hedwig.ResponseBody responseBody = 8;getResponseBodyOrBuilder in interface PubSubProtocol.PubSubResponseOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static PubSubProtocol.PubSubResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PubSubProtocol.PubSubResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic 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 PubSubProtocol.PubSubResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static PubSubProtocol.PubSubResponse.Builder newBuilder()
public 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.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static PubSubProtocol.PubSubResponse getDefaultInstance()
public static com.google.protobuf.Parser<PubSubProtocol.PubSubResponse> parser()
public 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.GeneratedMessageV3public PubSubProtocol.PubSubResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2011–2021 The Apache Software Foundation. All rights reserved.