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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<PubSubProtocol.PubSubResponse.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<PubSubProtocol.PubSubResponse.Builder>
public PubSubProtocol.PubSubResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public PubSubProtocol.PubSubResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public PubSubProtocol.PubSubResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public PubSubProtocol.PubSubResponse.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<PubSubProtocol.PubSubResponse.Builder>
IOException
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 PubSubProtocol.PubSubResponse.Builder setProtocolVersion(PubSubProtocol.ProtocolVersion value)
required .Hedwig.ProtocolVersion protocolVersion = 1;
public PubSubProtocol.PubSubResponse.Builder clearProtocolVersion()
required .Hedwig.ProtocolVersion protocolVersion = 1;
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 PubSubProtocol.PubSubResponse.Builder setStatusCode(PubSubProtocol.StatusCode value)
required .Hedwig.StatusCode statusCode = 2;
public PubSubProtocol.PubSubResponse.Builder clearStatusCode()
required .Hedwig.StatusCode statusCode = 2;
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 PubSubProtocol.PubSubResponse.Builder setTxnId(long value)
required uint64 txnId = 3;
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.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 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;
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;
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.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.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 PubSubProtocol.PubSubResponse.Builder setTopic(com.google.protobuf.ByteString value)
optional bytes topic = 6;
public PubSubProtocol.PubSubResponse.Builder clearTopic()
optional bytes topic = 6;
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 PubSubProtocol.PubSubResponse.Builder setSubscriberId(com.google.protobuf.ByteString value)
optional bytes subscriberId = 7;
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.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.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.PubSubResponseOrBuilder
public final PubSubProtocol.PubSubResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<PubSubProtocol.PubSubResponse.Builder>
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.