com.salesforce.eventbus.protobuf.FetchResponseOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: pubsub_api.proto
package com.salesforce.eventbus.protobuf;
public interface FetchResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:eventbus.v1.FetchResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* Received events for subscription for client consumption
*
*
* repeated .eventbus.v1.ConsumerEvent events = 1;
*/
java.util.List
getEventsList();
/**
*
* Received events for subscription for client consumption
*
*
* repeated .eventbus.v1.ConsumerEvent events = 1;
*/
com.salesforce.eventbus.protobuf.ConsumerEvent getEvents(int index);
/**
*
* Received events for subscription for client consumption
*
*
* repeated .eventbus.v1.ConsumerEvent events = 1;
*/
int getEventsCount();
/**
*
* Received events for subscription for client consumption
*
*
* repeated .eventbus.v1.ConsumerEvent events = 1;
*/
java.util.List extends com.salesforce.eventbus.protobuf.ConsumerEventOrBuilder>
getEventsOrBuilderList();
/**
*
* Received events for subscription for client consumption
*
*
* repeated .eventbus.v1.ConsumerEvent events = 1;
*/
com.salesforce.eventbus.protobuf.ConsumerEventOrBuilder getEventsOrBuilder(
int index);
/**
*
* Latest replay ID of a subscription. Enables clients with an updated replay value so that they can keep track
* of their last consumed replay. Clients will not have to start a subscription at a very old replay in the case where a resubscribe is necessary.
*
*
* bytes latest_replay_id = 2;
* @return The latestReplayId.
*/
com.google.protobuf.ByteString getLatestReplayId();
/**
*
* RPC ID used to trace errors.
*
*
* string rpc_id = 3;
* @return The rpcId.
*/
java.lang.String getRpcId();
/**
*
* RPC ID used to trace errors.
*
*
* string rpc_id = 3;
* @return The bytes for rpcId.
*/
com.google.protobuf.ByteString
getRpcIdBytes();
/**
*
* Number of remaining events to be delivered to the client for a Subscribe RPC call.
*
*
* int32 pending_num_requested = 4;
* @return The pendingNumRequested.
*/
int getPendingNumRequested();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy