com.salesforce.eventbus.protobuf.FetchRequestOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: pubsub_api.proto
package com.salesforce.eventbus.protobuf;
public interface FetchRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:eventbus.v1.FetchRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*
* Identifies a topic for subscription in the very first FetchRequest of the stream. The topic cannot change
* in subsequent FetchRequests within the same subscribe stream, but can be omitted for efficiency.
*
*
* string topic_name = 1;
* @return The topicName.
*/
java.lang.String getTopicName();
/**
*
*
* Identifies a topic for subscription in the very first FetchRequest of the stream. The topic cannot change
* in subsequent FetchRequests within the same subscribe stream, but can be omitted for efficiency.
*
*
* string topic_name = 1;
* @return The bytes for topicName.
*/
com.google.protobuf.ByteString
getTopicNameBytes();
/**
*
*
* Subscription starting point. This is consumed only as part of the first FetchRequest
* when the subscription is set up.
*
*
* .eventbus.v1.ReplayPreset replay_preset = 2;
* @return The enum numeric value on the wire for replayPreset.
*/
int getReplayPresetValue();
/**
*
*
* Subscription starting point. This is consumed only as part of the first FetchRequest
* when the subscription is set up.
*
*
* .eventbus.v1.ReplayPreset replay_preset = 2;
* @return The replayPreset.
*/
com.salesforce.eventbus.protobuf.ReplayPreset getReplayPreset();
/**
*
*
* If replay_preset of CUSTOM is selected, specify the subscription point to start after.
* This is consumed only as part of the first FetchRequest when the subscription is set up.
*
*
* bytes replay_id = 3;
* @return The replayId.
*/
com.google.protobuf.ByteString getReplayId();
/**
*
*
* Number of events a client is ready to accept. Each subsequent FetchRequest informs the server
* of additional processing capacity available on the client side. There is no guarantee of equal number of
* FetchResponse messages to be sent back. There is not necessarily a correspondence between
* number of requested events in FetchRequest and the number of events returned in subsequent
* FetchResponses.
*
*
* int32 num_requested = 4;
* @return The numRequested.
*/
int getNumRequested();
/**
*
* For internal Salesforce use only.
*
*
* string auth_refresh = 5;
* @return The authRefresh.
*/
java.lang.String getAuthRefresh();
/**
*
* For internal Salesforce use only.
*
*
* string auth_refresh = 5;
* @return The bytes for authRefresh.
*/
com.google.protobuf.ByteString
getAuthRefreshBytes();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy