Interface FetchRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
FetchRequest, FetchRequest.Builder

public interface FetchRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    For internal Salesforce use only.
    com.google.protobuf.ByteString
    For internal Salesforce use only.
    int
    Number of events a client is ready to accept.
    com.google.protobuf.ByteString
    If replay_preset of CUSTOM is selected, specify the subscription point to start after.
    Subscription starting point.
    int
    Subscription starting point.
    Identifies a topic for subscription in the very first FetchRequest of the stream.
    com.google.protobuf.ByteString
    Identifies a topic for subscription in the very first FetchRequest of the stream.

    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

    • getTopicName

      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;
      Returns:
      The topicName.
    • getTopicNameBytes

      com.google.protobuf.ByteString getTopicNameBytes()
      
       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;
      Returns:
      The bytes for topicName.
    • getReplayPresetValue

      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;
      Returns:
      The enum numeric value on the wire for replayPreset.
    • getReplayPreset

      ReplayPreset getReplayPreset()
      
       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;
      Returns:
      The replayPreset.
    • getReplayId

      com.google.protobuf.ByteString getReplayId()
      
       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;
      Returns:
      The replayId.
    • getNumRequested

      int getNumRequested()
      
       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;
      Returns:
      The numRequested.
    • getAuthRefresh

      String getAuthRefresh()
       For internal Salesforce use only.
       
      string auth_refresh = 5;
      Returns:
      The authRefresh.
    • getAuthRefreshBytes

      com.google.protobuf.ByteString getAuthRefreshBytes()
       For internal Salesforce use only.
       
      string auth_refresh = 5;
      Returns:
      The bytes for authRefresh.