public static final class PubSubProtocol.PubSubResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<PubSubProtocol.PubSubResponse.Builder> implements PubSubProtocol.PubSubResponseOrBuilder
addRepeatedField, clearField, getAllFields, getField, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<PubSubProtocol.PubSubResponse.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.GeneratedMessage.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.GeneratedMessage.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 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.GeneratedMessage.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()
hasProtocolVersion
in interface PubSubProtocol.PubSubResponseOrBuilder
public PubSubProtocol.ProtocolVersion getProtocolVersion()
getProtocolVersion
in interface PubSubProtocol.PubSubResponseOrBuilder
public PubSubProtocol.PubSubResponse.Builder setProtocolVersion(PubSubProtocol.ProtocolVersion value)
public PubSubProtocol.PubSubResponse.Builder clearProtocolVersion()
public boolean hasStatusCode()
hasStatusCode
in interface PubSubProtocol.PubSubResponseOrBuilder
public PubSubProtocol.StatusCode getStatusCode()
getStatusCode
in interface PubSubProtocol.PubSubResponseOrBuilder
public PubSubProtocol.PubSubResponse.Builder setStatusCode(PubSubProtocol.StatusCode value)
public PubSubProtocol.PubSubResponse.Builder clearStatusCode()
public boolean hasTxnId()
hasTxnId
in interface PubSubProtocol.PubSubResponseOrBuilder
public long getTxnId()
getTxnId
in interface PubSubProtocol.PubSubResponseOrBuilder
public PubSubProtocol.PubSubResponse.Builder setTxnId(long value)
public PubSubProtocol.PubSubResponse.Builder clearTxnId()
public boolean hasStatusMsg()
hasStatusMsg
in interface PubSubProtocol.PubSubResponseOrBuilder
public String getStatusMsg()
getStatusMsg
in interface PubSubProtocol.PubSubResponseOrBuilder
public PubSubProtocol.PubSubResponse.Builder setStatusMsg(String value)
public PubSubProtocol.PubSubResponse.Builder clearStatusMsg()
public boolean hasMessage()
hasMessage
in interface PubSubProtocol.PubSubResponseOrBuilder
public PubSubProtocol.Message getMessage()
getMessage
in interface PubSubProtocol.PubSubResponseOrBuilder
public PubSubProtocol.PubSubResponse.Builder setMessage(PubSubProtocol.Message value)
public PubSubProtocol.PubSubResponse.Builder setMessage(PubSubProtocol.Message.Builder builderForValue)
public PubSubProtocol.PubSubResponse.Builder mergeMessage(PubSubProtocol.Message value)
public PubSubProtocol.PubSubResponse.Builder clearMessage()
public PubSubProtocol.Message.Builder getMessageBuilder()
public PubSubProtocol.MessageOrBuilder getMessageOrBuilder()
getMessageOrBuilder
in interface PubSubProtocol.PubSubResponseOrBuilder
public boolean hasTopic()
hasTopic
in interface PubSubProtocol.PubSubResponseOrBuilder
public com.google.protobuf.ByteString getTopic()
getTopic
in interface PubSubProtocol.PubSubResponseOrBuilder
public PubSubProtocol.PubSubResponse.Builder setTopic(com.google.protobuf.ByteString value)
public PubSubProtocol.PubSubResponse.Builder clearTopic()
public boolean hasSubscriberId()
hasSubscriberId
in interface PubSubProtocol.PubSubResponseOrBuilder
public com.google.protobuf.ByteString getSubscriberId()
getSubscriberId
in interface PubSubProtocol.PubSubResponseOrBuilder
public PubSubProtocol.PubSubResponse.Builder setSubscriberId(com.google.protobuf.ByteString value)
public PubSubProtocol.PubSubResponse.Builder clearSubscriberId()
public boolean hasResponseBody()
hasResponseBody
in interface PubSubProtocol.PubSubResponseOrBuilder
public PubSubProtocol.ResponseBody getResponseBody()
getResponseBody
in interface PubSubProtocol.PubSubResponseOrBuilder
public PubSubProtocol.PubSubResponse.Builder setResponseBody(PubSubProtocol.ResponseBody value)
public PubSubProtocol.PubSubResponse.Builder setResponseBody(PubSubProtocol.ResponseBody.Builder builderForValue)
public PubSubProtocol.PubSubResponse.Builder mergeResponseBody(PubSubProtocol.ResponseBody value)
public PubSubProtocol.PubSubResponse.Builder clearResponseBody()
public PubSubProtocol.ResponseBody.Builder getResponseBodyBuilder()
public PubSubProtocol.ResponseBodyOrBuilder getResponseBodyOrBuilder()
getResponseBodyOrBuilder
in interface PubSubProtocol.PubSubResponseOrBuilder
Copyright © 2011-2014 The Apache Software Foundation. All Rights Reserved.