public final class _SubscriptionItem extends com.google.protobuf.GeneratedMessageV3 implements _SubscriptionItemOrBuilder
Possible message kinds from a topic. They can be items when they're from you, or other kinds when we have something we think you might need to know about the subscription's status.Protobuf type
cache_client.pubsub._SubscriptionItem| Modifier and Type | Class and Description |
|---|---|
static class |
_SubscriptionItem.Builder
Possible message kinds from a topic.
|
static class |
_SubscriptionItem.KindCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DISCONTINUITY_FIELD_NUMBER |
static int |
HEARTBEAT_FIELD_NUMBER |
static int |
ITEM_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static _SubscriptionItem |
getDefaultInstance() |
_SubscriptionItem |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
_Discontinuity |
getDiscontinuity()
Momento wants to let you know we detected some possible inconsistency at this
point in the subscription stream.
|
_DiscontinuityOrBuilder |
getDiscontinuityOrBuilder()
Momento wants to let you know we detected some possible inconsistency at this
point in the subscription stream.
|
_Heartbeat |
getHeartbeat()
The stream is still working, there's nothing to see here.
|
_HeartbeatOrBuilder |
getHeartbeatOrBuilder()
The stream is still working, there's nothing to see here.
|
_TopicItem |
getItem()
The subscription has yielded an item you previously published.
|
_TopicItemOrBuilder |
getItemOrBuilder()
The subscription has yielded an item you previously published.
|
_SubscriptionItem.KindCase |
getKindCase() |
com.google.protobuf.Parser<_SubscriptionItem> |
getParserForType() |
int |
getSerializedSize() |
boolean |
hasDiscontinuity()
Momento wants to let you know we detected some possible inconsistency at this
point in the subscription stream.
|
int |
hashCode() |
boolean |
hasHeartbeat()
The stream is still working, there's nothing to see here.
|
boolean |
hasItem()
The subscription has yielded an item you previously published.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static _SubscriptionItem.Builder |
newBuilder(_SubscriptionItem prototype) |
static _SubscriptionItem.Builder |
newBuilder() |
_SubscriptionItem.Builder |
newBuilderForType() |
protected _SubscriptionItem.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static _SubscriptionItem |
parseDelimitedFrom(java.io.InputStream input) |
static _SubscriptionItem |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static _SubscriptionItem |
parseFrom(byte[] data) |
static _SubscriptionItem |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static _SubscriptionItem |
parseFrom(java.nio.ByteBuffer data) |
static _SubscriptionItem |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static _SubscriptionItem |
parseFrom(com.google.protobuf.ByteString data) |
static _SubscriptionItem |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static _SubscriptionItem |
parseFrom(com.google.protobuf.CodedInputStream input) |
static _SubscriptionItem |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static _SubscriptionItem |
parseFrom(java.io.InputStream input) |
static _SubscriptionItem |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<_SubscriptionItem> |
parser() |
_SubscriptionItem.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ITEM_FIELD_NUMBER
public static final int DISCONTINUITY_FIELD_NUMBER
public static final int HEARTBEAT_FIELD_NUMBER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public _SubscriptionItem.KindCase getKindCase()
getKindCase in interface _SubscriptionItemOrBuilderpublic boolean hasItem()
The subscription has yielded an item you previously published.
.cache_client.pubsub._TopicItem item = 1;hasItem in interface _SubscriptionItemOrBuilderpublic _TopicItem getItem()
The subscription has yielded an item you previously published.
.cache_client.pubsub._TopicItem item = 1;getItem in interface _SubscriptionItemOrBuilderpublic _TopicItemOrBuilder getItemOrBuilder()
The subscription has yielded an item you previously published.
.cache_client.pubsub._TopicItem item = 1;getItemOrBuilder in interface _SubscriptionItemOrBuilderpublic boolean hasDiscontinuity()
Momento wants to let you know we detected some possible inconsistency at this point in the subscription stream. A lack of a discontinuity does not mean the subscription is guaranteed to be strictly perfect, but the presence of a discontinuity is very likely to
.cache_client.pubsub._Discontinuity discontinuity = 2;hasDiscontinuity in interface _SubscriptionItemOrBuilderpublic _Discontinuity getDiscontinuity()
Momento wants to let you know we detected some possible inconsistency at this point in the subscription stream. A lack of a discontinuity does not mean the subscription is guaranteed to be strictly perfect, but the presence of a discontinuity is very likely to
.cache_client.pubsub._Discontinuity discontinuity = 2;getDiscontinuity in interface _SubscriptionItemOrBuilderpublic _DiscontinuityOrBuilder getDiscontinuityOrBuilder()
Momento wants to let you know we detected some possible inconsistency at this point in the subscription stream. A lack of a discontinuity does not mean the subscription is guaranteed to be strictly perfect, but the presence of a discontinuity is very likely to
.cache_client.pubsub._Discontinuity discontinuity = 2;getDiscontinuityOrBuilder in interface _SubscriptionItemOrBuilderpublic boolean hasHeartbeat()
The stream is still working, there's nothing to see here.
.cache_client.pubsub._Heartbeat heartbeat = 3;hasHeartbeat in interface _SubscriptionItemOrBuilderpublic _Heartbeat getHeartbeat()
The stream is still working, there's nothing to see here.
.cache_client.pubsub._Heartbeat heartbeat = 3;getHeartbeat in interface _SubscriptionItemOrBuilderpublic _HeartbeatOrBuilder getHeartbeatOrBuilder()
The stream is still working, there's nothing to see here.
.cache_client.pubsub._Heartbeat heartbeat = 3;getHeartbeatOrBuilder in interface _SubscriptionItemOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static _SubscriptionItem parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static _SubscriptionItem parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static _SubscriptionItem parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static _SubscriptionItem parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static _SubscriptionItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static _SubscriptionItem parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static _SubscriptionItem parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static _SubscriptionItem parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static _SubscriptionItem parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static _SubscriptionItem parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static _SubscriptionItem parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static _SubscriptionItem parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic _SubscriptionItem.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static _SubscriptionItem.Builder newBuilder()
public static _SubscriptionItem.Builder newBuilder(_SubscriptionItem prototype)
public _SubscriptionItem.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected _SubscriptionItem.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static _SubscriptionItem getDefaultInstance()
public static com.google.protobuf.Parser<_SubscriptionItem> parser()
public com.google.protobuf.Parser<_SubscriptionItem> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public _SubscriptionItem getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder