grpc.cache_client.pubsub._SubscriptionRequestOrBuilder 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 _SubscriptionRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:cache_client.pubsub._SubscriptionRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* Cache namespace for the topic to which you want to subscribe.
*
*
* string cache_name = 1;
* @return The cacheName.
*/
java.lang.String getCacheName();
/**
*
* Cache namespace for the topic to which you want to subscribe.
*
*
* string cache_name = 1;
* @return The bytes for cacheName.
*/
com.google.protobuf.ByteString
getCacheNameBytes();
/**
*
* The literal topic name to which you want to subscribe.
*
*
* string topic = 2;
* @return The topic.
*/
java.lang.String getTopic();
/**
*
* The literal topic name to which you want to subscribe.
*
*
* string topic = 2;
* @return The bytes for topic.
*/
com.google.protobuf.ByteString
getTopicBytes();
/**
*
* --> Providing this is not required. <--
*
* If provided, attempt to reconnect to the topic and replay messages starting from
* the provided sequence number. You may get a discontinuity if some (or all) of the
* messages are not available.
* If not provided (or 0), the subscription will begin with the latest messages.
*
*
* uint64 resume_at_topic_sequence_number = 3;
* @return The resumeAtTopicSequenceNumber.
*/
long getResumeAtTopicSequenceNumber();
}