public static final class PubSubProtocol.PubSubRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<PubSubProtocol.PubSubRequest.Builder>
addRepeatedField, clearField, getAllFields, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, mergeUnknownFields, newBuilderForField, parseUnknownField, setField, setRepeatedField, setUnknownFields
mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
protected PubSubProtocol.PubSubRequest internalGetResult()
internalGetResult
in class com.google.protobuf.GeneratedMessage.Builder<PubSubProtocol.PubSubRequest.Builder>
public PubSubProtocol.PubSubRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.AbstractMessage.Builder<PubSubProtocol.PubSubRequest.Builder>
public PubSubProtocol.PubSubRequest.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.PubSubRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<PubSubProtocol.PubSubRequest.Builder>
public PubSubProtocol.PubSubRequest getDefaultInstanceForType()
public boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLite.Builder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<PubSubProtocol.PubSubRequest.Builder>
public PubSubProtocol.PubSubRequest build()
public PubSubProtocol.PubSubRequest buildPartial()
public PubSubProtocol.PubSubRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<PubSubProtocol.PubSubRequest.Builder>
public PubSubProtocol.PubSubRequest.Builder mergeFrom(PubSubProtocol.PubSubRequest other)
public PubSubProtocol.PubSubRequest.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.PubSubRequest.Builder>
IOException
public boolean hasProtocolVersion()
public PubSubProtocol.ProtocolVersion getProtocolVersion()
public PubSubProtocol.PubSubRequest.Builder setProtocolVersion(PubSubProtocol.ProtocolVersion value)
public PubSubProtocol.PubSubRequest.Builder clearProtocolVersion()
public boolean hasType()
public PubSubProtocol.OperationType getType()
public PubSubProtocol.PubSubRequest.Builder setType(PubSubProtocol.OperationType value)
public PubSubProtocol.PubSubRequest.Builder clearType()
public List<com.google.protobuf.ByteString> getTriedServersList()
public int getTriedServersCount()
public com.google.protobuf.ByteString getTriedServers(int index)
public PubSubProtocol.PubSubRequest.Builder setTriedServers(int index, com.google.protobuf.ByteString value)
public PubSubProtocol.PubSubRequest.Builder addTriedServers(com.google.protobuf.ByteString value)
public PubSubProtocol.PubSubRequest.Builder addAllTriedServers(Iterable<? extends com.google.protobuf.ByteString> values)
public PubSubProtocol.PubSubRequest.Builder clearTriedServers()
public boolean hasTxnId()
public long getTxnId()
public PubSubProtocol.PubSubRequest.Builder setTxnId(long value)
public PubSubProtocol.PubSubRequest.Builder clearTxnId()
public boolean hasShouldClaim()
public boolean getShouldClaim()
public PubSubProtocol.PubSubRequest.Builder setShouldClaim(boolean value)
public PubSubProtocol.PubSubRequest.Builder clearShouldClaim()
public boolean hasTopic()
public com.google.protobuf.ByteString getTopic()
public PubSubProtocol.PubSubRequest.Builder setTopic(com.google.protobuf.ByteString value)
public PubSubProtocol.PubSubRequest.Builder clearTopic()
public boolean hasPublishRequest()
public PubSubProtocol.PublishRequest getPublishRequest()
public PubSubProtocol.PubSubRequest.Builder setPublishRequest(PubSubProtocol.PublishRequest value)
public PubSubProtocol.PubSubRequest.Builder setPublishRequest(PubSubProtocol.PublishRequest.Builder builderForValue)
public PubSubProtocol.PubSubRequest.Builder mergePublishRequest(PubSubProtocol.PublishRequest value)
public PubSubProtocol.PubSubRequest.Builder clearPublishRequest()
public boolean hasSubscribeRequest()
public PubSubProtocol.SubscribeRequest getSubscribeRequest()
public PubSubProtocol.PubSubRequest.Builder setSubscribeRequest(PubSubProtocol.SubscribeRequest value)
public PubSubProtocol.PubSubRequest.Builder setSubscribeRequest(PubSubProtocol.SubscribeRequest.Builder builderForValue)
public PubSubProtocol.PubSubRequest.Builder mergeSubscribeRequest(PubSubProtocol.SubscribeRequest value)
public PubSubProtocol.PubSubRequest.Builder clearSubscribeRequest()
public boolean hasConsumeRequest()
public PubSubProtocol.ConsumeRequest getConsumeRequest()
public PubSubProtocol.PubSubRequest.Builder setConsumeRequest(PubSubProtocol.ConsumeRequest value)
public PubSubProtocol.PubSubRequest.Builder setConsumeRequest(PubSubProtocol.ConsumeRequest.Builder builderForValue)
public PubSubProtocol.PubSubRequest.Builder mergeConsumeRequest(PubSubProtocol.ConsumeRequest value)
public PubSubProtocol.PubSubRequest.Builder clearConsumeRequest()
public boolean hasUnsubscribeRequest()
public PubSubProtocol.UnsubscribeRequest getUnsubscribeRequest()
public PubSubProtocol.PubSubRequest.Builder setUnsubscribeRequest(PubSubProtocol.UnsubscribeRequest value)
public PubSubProtocol.PubSubRequest.Builder setUnsubscribeRequest(PubSubProtocol.UnsubscribeRequest.Builder builderForValue)
public PubSubProtocol.PubSubRequest.Builder mergeUnsubscribeRequest(PubSubProtocol.UnsubscribeRequest value)
public PubSubProtocol.PubSubRequest.Builder clearUnsubscribeRequest()
public boolean hasStopDeliveryRequest()
public PubSubProtocol.StopDeliveryRequest getStopDeliveryRequest()
public PubSubProtocol.PubSubRequest.Builder setStopDeliveryRequest(PubSubProtocol.StopDeliveryRequest value)
public PubSubProtocol.PubSubRequest.Builder setStopDeliveryRequest(PubSubProtocol.StopDeliveryRequest.Builder builderForValue)
public PubSubProtocol.PubSubRequest.Builder mergeStopDeliveryRequest(PubSubProtocol.StopDeliveryRequest value)
public PubSubProtocol.PubSubRequest.Builder clearStopDeliveryRequest()
public boolean hasStartDeliveryRequest()
public PubSubProtocol.StartDeliveryRequest getStartDeliveryRequest()
public PubSubProtocol.PubSubRequest.Builder setStartDeliveryRequest(PubSubProtocol.StartDeliveryRequest value)
public PubSubProtocol.PubSubRequest.Builder setStartDeliveryRequest(PubSubProtocol.StartDeliveryRequest.Builder builderForValue)
public PubSubProtocol.PubSubRequest.Builder mergeStartDeliveryRequest(PubSubProtocol.StartDeliveryRequest value)
public PubSubProtocol.PubSubRequest.Builder clearStartDeliveryRequest()
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.