public static final class PubSubProtocol.SubscriptionData extends com.google.protobuf.GeneratedMessage implements PubSubProtocol.SubscriptionDataOrBuilder
Hedwig.SubscriptionData
Modifier and Type | Class and Description |
---|---|
static class |
PubSubProtocol.SubscriptionData.Builder
Protobuf type
Hedwig.SubscriptionData |
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 com.google.protobuf.Parser<PubSubProtocol.SubscriptionData> |
PARSER |
static int |
PREFERENCES_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
static PubSubProtocol.SubscriptionData |
getDefaultInstance() |
PubSubProtocol.SubscriptionData |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<PubSubProtocol.SubscriptionData> |
getParserForType() |
PubSubProtocol.SubscriptionPreferences |
getPreferences()
optional .Hedwig.SubscriptionPreferences preferences = 2; |
PubSubProtocol.SubscriptionPreferencesOrBuilder |
getPreferencesOrBuilder()
optional .Hedwig.SubscriptionPreferences preferences = 2; |
int |
getSerializedSize() |
PubSubProtocol.SubscriptionState |
getState()
optional .Hedwig.SubscriptionState state = 1; |
PubSubProtocol.SubscriptionStateOrBuilder |
getStateOrBuilder()
optional .Hedwig.SubscriptionState state = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasPreferences()
optional .Hedwig.SubscriptionPreferences preferences = 2; |
boolean |
hasState()
optional .Hedwig.SubscriptionState state = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static PubSubProtocol.SubscriptionData.Builder |
newBuilder() |
static PubSubProtocol.SubscriptionData.Builder |
newBuilder(PubSubProtocol.SubscriptionData prototype) |
PubSubProtocol.SubscriptionData.Builder |
newBuilderForType() |
protected PubSubProtocol.SubscriptionData.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static PubSubProtocol.SubscriptionData |
parseDelimitedFrom(InputStream input) |
static PubSubProtocol.SubscriptionData |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PubSubProtocol.SubscriptionData |
parseFrom(byte[] data) |
static PubSubProtocol.SubscriptionData |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PubSubProtocol.SubscriptionData |
parseFrom(com.google.protobuf.ByteString data) |
static PubSubProtocol.SubscriptionData |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PubSubProtocol.SubscriptionData |
parseFrom(com.google.protobuf.CodedInputStream input) |
static PubSubProtocol.SubscriptionData |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PubSubProtocol.SubscriptionData |
parseFrom(InputStream input) |
static PubSubProtocol.SubscriptionData |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PubSubProtocol.SubscriptionData.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
equals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toString
checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static com.google.protobuf.Parser<PubSubProtocol.SubscriptionData> PARSER
public static final int STATE_FIELD_NUMBER
public static final int PREFERENCES_FIELD_NUMBER
public static PubSubProtocol.SubscriptionData getDefaultInstance()
public PubSubProtocol.SubscriptionData getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<PubSubProtocol.SubscriptionData> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasState()
optional .Hedwig.SubscriptionState state = 1;
hasState
in interface PubSubProtocol.SubscriptionDataOrBuilder
public PubSubProtocol.SubscriptionState getState()
optional .Hedwig.SubscriptionState state = 1;
getState
in interface PubSubProtocol.SubscriptionDataOrBuilder
public PubSubProtocol.SubscriptionStateOrBuilder getStateOrBuilder()
optional .Hedwig.SubscriptionState state = 1;
getStateOrBuilder
in interface PubSubProtocol.SubscriptionDataOrBuilder
public boolean hasPreferences()
optional .Hedwig.SubscriptionPreferences preferences = 2;
hasPreferences
in interface PubSubProtocol.SubscriptionDataOrBuilder
public PubSubProtocol.SubscriptionPreferences getPreferences()
optional .Hedwig.SubscriptionPreferences preferences = 2;
getPreferences
in interface PubSubProtocol.SubscriptionDataOrBuilder
public PubSubProtocol.SubscriptionPreferencesOrBuilder getPreferencesOrBuilder()
optional .Hedwig.SubscriptionPreferences preferences = 2;
getPreferencesOrBuilder
in interface PubSubProtocol.SubscriptionDataOrBuilder
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.SubscriptionData parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PubSubProtocol.SubscriptionData parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PubSubProtocol.SubscriptionData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PubSubProtocol.SubscriptionData parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PubSubProtocol.SubscriptionData parseFrom(InputStream input) throws IOException
IOException
public static PubSubProtocol.SubscriptionData parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static PubSubProtocol.SubscriptionData parseDelimitedFrom(InputStream input) throws IOException
IOException
public static PubSubProtocol.SubscriptionData parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static PubSubProtocol.SubscriptionData parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static PubSubProtocol.SubscriptionData parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static PubSubProtocol.SubscriptionData.Builder newBuilder()
public PubSubProtocol.SubscriptionData.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static PubSubProtocol.SubscriptionData.Builder newBuilder(PubSubProtocol.SubscriptionData prototype)
public PubSubProtocol.SubscriptionData.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected PubSubProtocol.SubscriptionData.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.