grpc.cache_client.pubsub._SubscriptionItemOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of client-protos-jvm Show documentation
Show all versions of client-protos-jvm Show documentation
Kotlin protobuf protocols for the JVM that define the Momento gRPC wire format
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: cachepubsub.proto
package grpc.cache_client.pubsub;
public interface _SubscriptionItemOrBuilder extends
// @@protoc_insertion_point(interface_extends:cache_client.pubsub._SubscriptionItem)
com.google.protobuf.MessageOrBuilder {
/**
*
* The subscription has yielded an item you previously published.
*
*
* .cache_client.pubsub._TopicItem item = 1;
* @return Whether the item field is set.
*/
boolean hasItem();
/**
*
* The subscription has yielded an item you previously published.
*
*
* .cache_client.pubsub._TopicItem item = 1;
* @return The item.
*/
grpc.cache_client.pubsub._TopicItem getItem();
/**
*
* The subscription has yielded an item you previously published.
*
*
* .cache_client.pubsub._TopicItem item = 1;
*/
grpc.cache_client.pubsub._TopicItemOrBuilder getItemOrBuilder();
/**
*
* 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;
* @return Whether the discontinuity field is set.
*/
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;
* @return The discontinuity.
*/
grpc.cache_client.pubsub._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;
*/
grpc.cache_client.pubsub._DiscontinuityOrBuilder getDiscontinuityOrBuilder();
/**
*
* The stream is still working, there's nothing to see here.
*
*
* .cache_client.pubsub._Heartbeat heartbeat = 3;
* @return Whether the heartbeat field is set.
*/
boolean hasHeartbeat();
/**
*
* The stream is still working, there's nothing to see here.
*
*
* .cache_client.pubsub._Heartbeat heartbeat = 3;
* @return The heartbeat.
*/
grpc.cache_client.pubsub._Heartbeat getHeartbeat();
/**
*
* The stream is still working, there's nothing to see here.
*
*
* .cache_client.pubsub._Heartbeat heartbeat = 3;
*/
grpc.cache_client.pubsub._HeartbeatOrBuilder getHeartbeatOrBuilder();
grpc.cache_client.pubsub._SubscriptionItem.KindCase getKindCase();
}