grpc.cache_client.pubsub._TopicItemOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of client-protos Show documentation
Show all versions of client-protos Show documentation
Java protobuf protocols 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 _TopicItemOrBuilder extends
// @@protoc_insertion_point(interface_extends:cache_client.pubsub._TopicItem)
com.google.protobuf.MessageOrBuilder {
/**
*
* Topic sequence numbers are **best-effort** and **informational**.
* They are not transactional.
* They exist:
* * to help reconnect to an existing topic while trying to avoid missing items.
* * to facilitate richer monitoring and logging.
* * to provide a best-effort awareness of stream contiguity, or lack thereof,
* in case you need to know.
* You can safely ignore them if none of that matters to you!
*
*
* uint64 topic_sequence_number = 1;
* @return The topicSequenceNumber.
*/
long getTopicSequenceNumber();
/**
*
* The value you previously published to this topic.
*
*
* .cache_client.pubsub._TopicValue value = 2;
* @return Whether the value field is set.
*/
boolean hasValue();
/**
*
* The value you previously published to this topic.
*
*
* .cache_client.pubsub._TopicValue value = 2;
* @return The value.
*/
grpc.cache_client.pubsub._TopicValue getValue();
/**
*
* The value you previously published to this topic.
*
*
* .cache_client.pubsub._TopicValue value = 2;
*/
grpc.cache_client.pubsub._TopicValueOrBuilder getValueOrBuilder();
/**
*
* Authenticated id from Publisher's disposable token
*
*
* string publisher_id = 3;
* @return The publisherId.
*/
java.lang.String getPublisherId();
/**
*
* Authenticated id from Publisher's disposable token
*
*
* string publisher_id = 3;
* @return The bytes for publisherId.
*/
com.google.protobuf.ByteString
getPublisherIdBytes();
}