public static final class PubSubProtocol.PubSubRequest extends com.google.protobuf.GeneratedMessage implements PubSubProtocol.PubSubRequestOrBuilder
Modifier and Type | Class and Description |
---|---|
static class |
PubSubProtocol.PubSubRequest.Builder |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>
Modifier and Type | Field and Description |
---|---|
static int |
CLOSESUBSCRIPTIONREQUEST_FIELD_NUMBER |
static int |
CONSUMEREQUEST_FIELD_NUMBER |
static int |
PROTOCOLVERSION_FIELD_NUMBER |
static int |
PUBLISHREQUEST_FIELD_NUMBER |
static int |
SHOULDCLAIM_FIELD_NUMBER |
static int |
STARTDELIVERYREQUEST_FIELD_NUMBER |
static int |
STOPDELIVERYREQUEST_FIELD_NUMBER |
static int |
SUBSCRIBEREQUEST_FIELD_NUMBER |
static int |
TOPIC_FIELD_NUMBER |
static int |
TRIEDSERVERS_FIELD_NUMBER |
static int |
TXNID_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
static int |
UNSUBSCRIBEREQUEST_FIELD_NUMBER |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension
equals, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int PROTOCOLVERSION_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int TRIEDSERVERS_FIELD_NUMBER
public static final int TXNID_FIELD_NUMBER
public static final int SHOULDCLAIM_FIELD_NUMBER
public static final int TOPIC_FIELD_NUMBER
public static final int PUBLISHREQUEST_FIELD_NUMBER
public static final int SUBSCRIBEREQUEST_FIELD_NUMBER
public static final int CONSUMEREQUEST_FIELD_NUMBER
public static final int UNSUBSCRIBEREQUEST_FIELD_NUMBER
public static final int STOPDELIVERYREQUEST_FIELD_NUMBER
public static final int STARTDELIVERYREQUEST_FIELD_NUMBER
public static final int CLOSESUBSCRIPTIONREQUEST_FIELD_NUMBER
public static PubSubProtocol.PubSubRequest getDefaultInstance()
public PubSubProtocol.PubSubRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public boolean hasProtocolVersion()
hasProtocolVersion
in interface PubSubProtocol.PubSubRequestOrBuilder
public PubSubProtocol.ProtocolVersion getProtocolVersion()
getProtocolVersion
in interface PubSubProtocol.PubSubRequestOrBuilder
public boolean hasType()
hasType
in interface PubSubProtocol.PubSubRequestOrBuilder
public PubSubProtocol.OperationType getType()
getType
in interface PubSubProtocol.PubSubRequestOrBuilder
public List<com.google.protobuf.ByteString> getTriedServersList()
getTriedServersList
in interface PubSubProtocol.PubSubRequestOrBuilder
public int getTriedServersCount()
getTriedServersCount
in interface PubSubProtocol.PubSubRequestOrBuilder
public com.google.protobuf.ByteString getTriedServers(int index)
getTriedServers
in interface PubSubProtocol.PubSubRequestOrBuilder
public boolean hasTxnId()
hasTxnId
in interface PubSubProtocol.PubSubRequestOrBuilder
public long getTxnId()
getTxnId
in interface PubSubProtocol.PubSubRequestOrBuilder
public boolean hasShouldClaim()
hasShouldClaim
in interface PubSubProtocol.PubSubRequestOrBuilder
public boolean getShouldClaim()
getShouldClaim
in interface PubSubProtocol.PubSubRequestOrBuilder
public boolean hasTopic()
hasTopic
in interface PubSubProtocol.PubSubRequestOrBuilder
public com.google.protobuf.ByteString getTopic()
getTopic
in interface PubSubProtocol.PubSubRequestOrBuilder
public boolean hasPublishRequest()
hasPublishRequest
in interface PubSubProtocol.PubSubRequestOrBuilder
public PubSubProtocol.PublishRequest getPublishRequest()
getPublishRequest
in interface PubSubProtocol.PubSubRequestOrBuilder
public PubSubProtocol.PublishRequestOrBuilder getPublishRequestOrBuilder()
getPublishRequestOrBuilder
in interface PubSubProtocol.PubSubRequestOrBuilder
public boolean hasSubscribeRequest()
hasSubscribeRequest
in interface PubSubProtocol.PubSubRequestOrBuilder
public PubSubProtocol.SubscribeRequest getSubscribeRequest()
getSubscribeRequest
in interface PubSubProtocol.PubSubRequestOrBuilder
public PubSubProtocol.SubscribeRequestOrBuilder getSubscribeRequestOrBuilder()
getSubscribeRequestOrBuilder
in interface PubSubProtocol.PubSubRequestOrBuilder
public boolean hasConsumeRequest()
hasConsumeRequest
in interface PubSubProtocol.PubSubRequestOrBuilder
public PubSubProtocol.ConsumeRequest getConsumeRequest()
getConsumeRequest
in interface PubSubProtocol.PubSubRequestOrBuilder
public PubSubProtocol.ConsumeRequestOrBuilder getConsumeRequestOrBuilder()
getConsumeRequestOrBuilder
in interface PubSubProtocol.PubSubRequestOrBuilder
public boolean hasUnsubscribeRequest()
hasUnsubscribeRequest
in interface PubSubProtocol.PubSubRequestOrBuilder
public PubSubProtocol.UnsubscribeRequest getUnsubscribeRequest()
getUnsubscribeRequest
in interface PubSubProtocol.PubSubRequestOrBuilder
public PubSubProtocol.UnsubscribeRequestOrBuilder getUnsubscribeRequestOrBuilder()
getUnsubscribeRequestOrBuilder
in interface PubSubProtocol.PubSubRequestOrBuilder
public boolean hasStopDeliveryRequest()
hasStopDeliveryRequest
in interface PubSubProtocol.PubSubRequestOrBuilder
public PubSubProtocol.StopDeliveryRequest getStopDeliveryRequest()
getStopDeliveryRequest
in interface PubSubProtocol.PubSubRequestOrBuilder
public PubSubProtocol.StopDeliveryRequestOrBuilder getStopDeliveryRequestOrBuilder()
getStopDeliveryRequestOrBuilder
in interface PubSubProtocol.PubSubRequestOrBuilder
public boolean hasStartDeliveryRequest()
hasStartDeliveryRequest
in interface PubSubProtocol.PubSubRequestOrBuilder
public PubSubProtocol.StartDeliveryRequest getStartDeliveryRequest()
getStartDeliveryRequest
in interface PubSubProtocol.PubSubRequestOrBuilder
public PubSubProtocol.StartDeliveryRequestOrBuilder getStartDeliveryRequestOrBuilder()
getStartDeliveryRequestOrBuilder
in interface PubSubProtocol.PubSubRequestOrBuilder
public boolean hasCloseSubscriptionRequest()
hasCloseSubscriptionRequest
in interface PubSubProtocol.PubSubRequestOrBuilder
public PubSubProtocol.CloseSubscriptionRequest getCloseSubscriptionRequest()
getCloseSubscriptionRequest
in interface PubSubProtocol.PubSubRequestOrBuilder
public PubSubProtocol.CloseSubscriptionRequestOrBuilder getCloseSubscriptionRequestOrBuilder()
getCloseSubscriptionRequestOrBuilder
in interface PubSubProtocol.PubSubRequestOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public static PubSubProtocol.PubSubRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PubSubProtocol.PubSubRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PubSubProtocol.PubSubRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PubSubProtocol.PubSubRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PubSubProtocol.PubSubRequest parseFrom(InputStream input) throws IOException
IOException
public static PubSubProtocol.PubSubRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static PubSubProtocol.PubSubRequest parseDelimitedFrom(InputStream input) throws IOException
IOException
public static PubSubProtocol.PubSubRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static PubSubProtocol.PubSubRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static PubSubProtocol.PubSubRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static PubSubProtocol.PubSubRequest.Builder newBuilder()
public PubSubProtocol.PubSubRequest.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static PubSubProtocol.PubSubRequest.Builder newBuilder(PubSubProtocol.PubSubRequest prototype)
public PubSubProtocol.PubSubRequest.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected PubSubProtocol.PubSubRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2011-2014 The Apache Software Foundation. All Rights Reserved.