Interface HeartbeatRequestOrBuilder

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

@Generated public interface HeartbeatRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Additional metrics as key-value pairs.
    Crawl identifier.
    com.google.protobuf.ByteString
    Crawl identifier.
    int
    Number of documents currently being processed.
    int
    Number of documents currently queued for processing.
    Deprecated.
    int
    Additional metrics as key-value pairs.
    Additional metrics as key-value pairs.
    getMetricsOrDefault(String key, String defaultValue)
    Additional metrics as key-value pairs.
    Additional metrics as key-value pairs.
    Session identifier.
    com.google.protobuf.ByteString
    Session identifier.

    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

    • getSessionId

      String getSessionId()
       Session identifier.
       
      string session_id = 1 [json_name = "sessionId"];
      Returns:
      The sessionId.
    • getSessionIdBytes

      com.google.protobuf.ByteString getSessionIdBytes()
       Session identifier.
       
      string session_id = 1 [json_name = "sessionId"];
      Returns:
      The bytes for sessionId.
    • getCrawlId

      String getCrawlId()
       Crawl identifier.
       
      string crawl_id = 2 [json_name = "crawlId"];
      Returns:
      The crawlId.
    • getCrawlIdBytes

      com.google.protobuf.ByteString getCrawlIdBytes()
       Crawl identifier.
       
      string crawl_id = 2 [json_name = "crawlId"];
      Returns:
      The bytes for crawlId.
    • getDocumentsQueued

      int getDocumentsQueued()
       Number of documents currently queued for processing.
       
      int32 documents_queued = 3 [json_name = "documentsQueued"];
      Returns:
      The documentsQueued.
    • getDocumentsProcessing

      int getDocumentsProcessing()
       Number of documents currently being processed.
       
      int32 documents_processing = 4 [json_name = "documentsProcessing"];
      Returns:
      The documentsProcessing.
    • getMetricsCount

      int getMetricsCount()
       Additional metrics as key-value pairs.
       
      map<string, string> metrics = 5 [json_name = "metrics"];
    • containsMetrics

      boolean containsMetrics(String key)
       Additional metrics as key-value pairs.
       
      map<string, string> metrics = 5 [json_name = "metrics"];
    • getMetrics

      @Deprecated Map<String,String> getMetrics()
      Deprecated.
      Use getMetricsMap() instead.
    • getMetricsMap

      Map<String,String> getMetricsMap()
       Additional metrics as key-value pairs.
       
      map<string, string> metrics = 5 [json_name = "metrics"];
    • getMetricsOrDefault

      String getMetricsOrDefault(String key, String defaultValue)
       Additional metrics as key-value pairs.
       
      map<string, string> metrics = 5 [json_name = "metrics"];
    • getMetricsOrThrow

      String getMetricsOrThrow(String key)
       Additional metrics as key-value pairs.
       
      map<string, string> metrics = 5 [json_name = "metrics"];