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
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) |
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, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, 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
@Deprecated public static final com.google.protobuf.Parser<PubSubProtocol.PubSubResponse> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
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()
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.PubSubResponseOrBuilder
public 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.PubSubResponseOrBuilder
public 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.PubSubResponseOrBuilder
public boolean hasMessage()
the following fields are sent in delivered messages
optional .Hedwig.Message message = 5;
hasMessage
in interface PubSubProtocol.PubSubResponseOrBuilder
public PubSubProtocol.Message getMessage()
the following fields are sent in delivered messages
optional .Hedwig.Message message = 5;
getMessage
in interface PubSubProtocol.PubSubResponseOrBuilder
public PubSubProtocol.MessageOrBuilder getMessageOrBuilder()
the following fields are sent in delivered messages
optional .Hedwig.Message message = 5;
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()
the following fields are sent by other requests
optional .Hedwig.ResponseBody responseBody = 8;
hasResponseBody
in interface PubSubProtocol.PubSubResponseOrBuilder
public PubSubProtocol.ResponseBody getResponseBody()
the following fields are sent by other requests
optional .Hedwig.ResponseBody responseBody = 8;
getResponseBody
in interface PubSubProtocol.PubSubResponseOrBuilder
public PubSubProtocol.ResponseBodyOrBuilder getResponseBodyOrBuilder()
the following fields are sent by other requests
optional .Hedwig.ResponseBody responseBody = 8;
getResponseBodyOrBuilder
in interface PubSubProtocol.PubSubResponseOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static PubSubProtocol.PubSubResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PubSubProtocol.PubSubResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
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 PubSubProtocol.PubSubResponse.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public 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.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected PubSubProtocol.PubSubResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public PubSubProtocol.PubSubResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.