public static final class PubSubProtocol.PubSubResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PubSubProtocol.PubSubResponse.Builder> implements PubSubProtocol.PubSubResponseOrBuilder
Hedwig.PubSubResponse| Modifier and Type | Method and Description |
|---|---|
PubSubProtocol.PubSubResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PubSubProtocol.PubSubResponse |
build() |
PubSubProtocol.PubSubResponse |
buildPartial() |
PubSubProtocol.PubSubResponse.Builder |
clear() |
PubSubProtocol.PubSubResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PubSubProtocol.PubSubResponse.Builder |
clearMessage()
the following fields are sent in delivered messages
|
PubSubProtocol.PubSubResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PubSubProtocol.PubSubResponse.Builder |
clearProtocolVersion()
required .Hedwig.ProtocolVersion protocolVersion = 1; |
PubSubProtocol.PubSubResponse.Builder |
clearResponseBody()
the following fields are sent by other requests
|
PubSubProtocol.PubSubResponse.Builder |
clearStatusCode()
required .Hedwig.StatusCode statusCode = 2; |
PubSubProtocol.PubSubResponse.Builder |
clearStatusMsg()
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
|
PubSubProtocol.PubSubResponse.Builder |
clearSubscriberId()
optional bytes subscriberId = 7; |
PubSubProtocol.PubSubResponse.Builder |
clearTopic()
optional bytes topic = 6; |
PubSubProtocol.PubSubResponse.Builder |
clearTxnId()
required uint64 txnId = 3; |
PubSubProtocol.PubSubResponse.Builder |
clone() |
PubSubProtocol.PubSubResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
PubSubProtocol.Message |
getMessage()
the following fields are sent in delivered messages
|
PubSubProtocol.Message.Builder |
getMessageBuilder()
the following fields are sent in delivered messages
|
PubSubProtocol.MessageOrBuilder |
getMessageOrBuilder()
the following fields are sent in delivered messages
|
PubSubProtocol.ProtocolVersion |
getProtocolVersion()
required .Hedwig.ProtocolVersion protocolVersion = 1; |
PubSubProtocol.ResponseBody |
getResponseBody()
the following fields are sent by other requests
|
PubSubProtocol.ResponseBody.Builder |
getResponseBodyBuilder()
the following fields are sent by other requests
|
PubSubProtocol.ResponseBodyOrBuilder |
getResponseBodyOrBuilder()
the following fields are sent by other requests
|
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; |
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() |
PubSubProtocol.PubSubResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PubSubProtocol.PubSubResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
PubSubProtocol.PubSubResponse.Builder |
mergeFrom(PubSubProtocol.PubSubResponse other) |
PubSubProtocol.PubSubResponse.Builder |
mergeMessage(PubSubProtocol.Message value)
the following fields are sent in delivered messages
|
PubSubProtocol.PubSubResponse.Builder |
mergeResponseBody(PubSubProtocol.ResponseBody value)
the following fields are sent by other requests
|
PubSubProtocol.PubSubResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PubSubProtocol.PubSubResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PubSubProtocol.PubSubResponse.Builder |
setMessage(PubSubProtocol.Message.Builder builderForValue)
the following fields are sent in delivered messages
|
PubSubProtocol.PubSubResponse.Builder |
setMessage(PubSubProtocol.Message value)
the following fields are sent in delivered messages
|
PubSubProtocol.PubSubResponse.Builder |
setProtocolVersion(PubSubProtocol.ProtocolVersion value)
required .Hedwig.ProtocolVersion protocolVersion = 1; |
PubSubProtocol.PubSubResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
PubSubProtocol.PubSubResponse.Builder |
setResponseBody(PubSubProtocol.ResponseBody.Builder builderForValue)
the following fields are sent by other requests
|
PubSubProtocol.PubSubResponse.Builder |
setResponseBody(PubSubProtocol.ResponseBody value)
the following fields are sent by other requests
|
PubSubProtocol.PubSubResponse.Builder |
setStatusCode(PubSubProtocol.StatusCode value)
required .Hedwig.StatusCode statusCode = 2; |
PubSubProtocol.PubSubResponse.Builder |
setStatusMsg(String value)
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
|
PubSubProtocol.PubSubResponse.Builder |
setStatusMsgBytes(com.google.protobuf.ByteString value)
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
|
PubSubProtocol.PubSubResponse.Builder |
setSubscriberId(com.google.protobuf.ByteString value)
optional bytes subscriberId = 7; |
PubSubProtocol.PubSubResponse.Builder |
setTopic(com.google.protobuf.ByteString value)
optional bytes topic = 6; |
PubSubProtocol.PubSubResponse.Builder |
setTxnId(long value)
required uint64 txnId = 3; |
PubSubProtocol.PubSubResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PubSubProtocol.PubSubResponse.Builder>public PubSubProtocol.PubSubResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<PubSubProtocol.PubSubResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PubSubProtocol.PubSubResponse.Builder>public PubSubProtocol.PubSubResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PubSubProtocol.PubSubResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PubSubProtocol.PubSubResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PubSubProtocol.PubSubResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<PubSubProtocol.PubSubResponse.Builder>public PubSubProtocol.PubSubResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<PubSubProtocol.PubSubResponse.Builder>public PubSubProtocol.PubSubResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PubSubProtocol.PubSubResponse.Builder>public PubSubProtocol.PubSubResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PubSubProtocol.PubSubResponse.Builder>public PubSubProtocol.PubSubResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PubSubProtocol.PubSubResponse.Builder>public PubSubProtocol.PubSubResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PubSubProtocol.PubSubResponse.Builder>public PubSubProtocol.PubSubResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PubSubProtocol.PubSubResponse.Builder>public PubSubProtocol.PubSubResponse.Builder mergeFrom(PubSubProtocol.PubSubResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PubSubProtocol.PubSubResponse.Builder>public PubSubProtocol.PubSubResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PubSubProtocol.PubSubResponse.Builder>IOExceptionpublic 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 PubSubProtocol.PubSubResponse.Builder setProtocolVersion(PubSubProtocol.ProtocolVersion value)
required .Hedwig.ProtocolVersion protocolVersion = 1;value - The protocolVersion to set.public PubSubProtocol.PubSubResponse.Builder clearProtocolVersion()
required .Hedwig.ProtocolVersion protocolVersion = 1;public 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 PubSubProtocol.PubSubResponse.Builder setStatusCode(PubSubProtocol.StatusCode value)
required .Hedwig.StatusCode statusCode = 2;value - The statusCode to set.public PubSubProtocol.PubSubResponse.Builder clearStatusCode()
required .Hedwig.StatusCode statusCode = 2;public boolean hasTxnId()
required uint64 txnId = 3;hasTxnId in interface PubSubProtocol.PubSubResponseOrBuilderpublic long getTxnId()
required uint64 txnId = 3;getTxnId in interface PubSubProtocol.PubSubResponseOrBuilderpublic PubSubProtocol.PubSubResponse.Builder setTxnId(long value)
required uint64 txnId = 3;value - The txnId to set.public PubSubProtocol.PubSubResponse.Builder clearTxnId()
required uint64 txnId = 3;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.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 PubSubProtocol.PubSubResponse.Builder setStatusMsg(String value)
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;value - The statusMsg to set.public PubSubProtocol.PubSubResponse.Builder clearStatusMsg()
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;public PubSubProtocol.PubSubResponse.Builder setStatusMsgBytes(com.google.protobuf.ByteString value)
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;value - The bytes for statusMsg to set.public 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.PubSubResponse.Builder setMessage(PubSubProtocol.Message value)
the following fields are sent in delivered messages
optional .Hedwig.Message message = 5;public PubSubProtocol.PubSubResponse.Builder setMessage(PubSubProtocol.Message.Builder builderForValue)
the following fields are sent in delivered messages
optional .Hedwig.Message message = 5;public PubSubProtocol.PubSubResponse.Builder mergeMessage(PubSubProtocol.Message value)
the following fields are sent in delivered messages
optional .Hedwig.Message message = 5;public PubSubProtocol.PubSubResponse.Builder clearMessage()
the following fields are sent in delivered messages
optional .Hedwig.Message message = 5;public PubSubProtocol.Message.Builder getMessageBuilder()
the following fields are sent in delivered messages
optional .Hedwig.Message message = 5;public 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 PubSubProtocol.PubSubResponse.Builder setTopic(com.google.protobuf.ByteString value)
optional bytes topic = 6;value - The topic to set.public PubSubProtocol.PubSubResponse.Builder clearTopic()
optional bytes topic = 6;public 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 PubSubProtocol.PubSubResponse.Builder setSubscriberId(com.google.protobuf.ByteString value)
optional bytes subscriberId = 7;value - The subscriberId to set.public PubSubProtocol.PubSubResponse.Builder clearSubscriberId()
optional bytes subscriberId = 7;public 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.PubSubResponse.Builder setResponseBody(PubSubProtocol.ResponseBody value)
the following fields are sent by other requests
optional .Hedwig.ResponseBody responseBody = 8;public PubSubProtocol.PubSubResponse.Builder setResponseBody(PubSubProtocol.ResponseBody.Builder builderForValue)
the following fields are sent by other requests
optional .Hedwig.ResponseBody responseBody = 8;public PubSubProtocol.PubSubResponse.Builder mergeResponseBody(PubSubProtocol.ResponseBody value)
the following fields are sent by other requests
optional .Hedwig.ResponseBody responseBody = 8;public PubSubProtocol.PubSubResponse.Builder clearResponseBody()
the following fields are sent by other requests
optional .Hedwig.ResponseBody responseBody = 8;public PubSubProtocol.ResponseBody.Builder getResponseBodyBuilder()
the following fields are sent by other requests
optional .Hedwig.ResponseBody responseBody = 8;public PubSubProtocol.ResponseBodyOrBuilder getResponseBodyOrBuilder()
the following fields are sent by other requests
optional .Hedwig.ResponseBody responseBody = 8;getResponseBodyOrBuilder in interface PubSubProtocol.PubSubResponseOrBuilderpublic final PubSubProtocol.PubSubResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PubSubProtocol.PubSubResponse.Builder>public final PubSubProtocol.PubSubResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PubSubProtocol.PubSubResponse.Builder>Copyright © 2011–2021 The Apache Software Foundation. All rights reserved.