Package com.salesforce.eventbus.protobuf
Interface FetchResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FetchResponse
,FetchResponse.Builder
public interface FetchResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetEvents
(int index) Received events for subscription for client consumptionint
Received events for subscription for client consumptionReceived events for subscription for client consumptiongetEventsOrBuilder
(int index) Received events for subscription for client consumptionList<? extends ConsumerEventOrBuilder>
Received events for subscription for client consumptioncom.google.protobuf.ByteString
Latest replay ID of a subscription.int
Number of remaining events to be delivered to the client for a Subscribe RPC call.getRpcId()
RPC ID used to trace errors.com.google.protobuf.ByteString
RPC ID used to trace errors.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getEventsList
List<ConsumerEvent> getEventsList()Received events for subscription for client consumption
repeated .eventbus.v1.ConsumerEvent events = 1;
-
getEvents
Received events for subscription for client consumption
repeated .eventbus.v1.ConsumerEvent events = 1;
-
getEventsCount
int getEventsCount()Received events for subscription for client consumption
repeated .eventbus.v1.ConsumerEvent events = 1;
-
getEventsOrBuilderList
List<? extends ConsumerEventOrBuilder> getEventsOrBuilderList()Received events for subscription for client consumption
repeated .eventbus.v1.ConsumerEvent events = 1;
-
getEventsOrBuilder
Received events for subscription for client consumption
repeated .eventbus.v1.ConsumerEvent events = 1;
-
getLatestReplayId
com.google.protobuf.ByteString getLatestReplayId()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;
- Returns:
- The latestReplayId.
-
getRpcId
String getRpcId()RPC ID used to trace errors.
string rpc_id = 3;
- Returns:
- The rpcId.
-
getRpcIdBytes
com.google.protobuf.ByteString getRpcIdBytes()RPC ID used to trace errors.
string rpc_id = 3;
- Returns:
- The bytes for rpcId.
-
getPendingNumRequested
int getPendingNumRequested()Number of remaining events to be delivered to the client for a Subscribe RPC call.
int32 pending_num_requested = 4;
- Returns:
- The pendingNumRequested.
-