Class CrawlSessionSummary

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
ai.pipestream.connector.intake.v1.CrawlSessionSummary
All Implemented Interfaces:
CrawlSessionSummaryOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class CrawlSessionSummary extends com.google.protobuf.GeneratedMessage implements CrawlSessionSummaryOrBuilder
 Summary of a completed crawl session.
 
Protobuf type ai.pipestream.connector.intake.v1.CrawlSessionSummary
See Also:
  • Field Details

    • SESSION_ID_FIELD_NUMBER

      public static final int SESSION_ID_FIELD_NUMBER
      See Also:
    • CRAWL_ID_FIELD_NUMBER

      public static final int CRAWL_ID_FIELD_NUMBER
      See Also:
    • STARTED_AT_FIELD_NUMBER

      public static final int STARTED_AT_FIELD_NUMBER
      See Also:
    • COMPLETED_AT_FIELD_NUMBER

      public static final int COMPLETED_AT_FIELD_NUMBER
      See Also:
    • DOCUMENTS_FOUND_FIELD_NUMBER

      public static final int DOCUMENTS_FOUND_FIELD_NUMBER
      See Also:
    • DOCUMENTS_PROCESSED_FIELD_NUMBER

      public static final int DOCUMENTS_PROCESSED_FIELD_NUMBER
      See Also:
    • DOCUMENTS_FAILED_FIELD_NUMBER

      public static final int DOCUMENTS_FAILED_FIELD_NUMBER
      See Also:
    • BYTES_PROCESSED_FIELD_NUMBER

      public static final int BYTES_PROCESSED_FIELD_NUMBER
      See Also:
    • STATUS_FIELD_NUMBER

      public static final int STATUS_FIELD_NUMBER
      See Also:
    • METADATA_FIELD_NUMBER

      public static final int METADATA_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getSessionId

      public String getSessionId()
       Session identifier.
       
      string session_id = 1 [json_name = "sessionId"];
      Specified by:
      getSessionId in interface CrawlSessionSummaryOrBuilder
      Returns:
      The sessionId.
    • getSessionIdBytes

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

      public String getCrawlId()
       Crawl identifier.
       
      string crawl_id = 2 [json_name = "crawlId"];
      Specified by:
      getCrawlId in interface CrawlSessionSummaryOrBuilder
      Returns:
      The crawlId.
    • getCrawlIdBytes

      public com.google.protobuf.ByteString getCrawlIdBytes()
       Crawl identifier.
       
      string crawl_id = 2 [json_name = "crawlId"];
      Specified by:
      getCrawlIdBytes in interface CrawlSessionSummaryOrBuilder
      Returns:
      The bytes for crawlId.
    • hasStartedAt

      public boolean hasStartedAt()
       Timestamp when crawl started.
       
      .google.protobuf.Timestamp started_at = 3 [json_name = "startedAt"];
      Specified by:
      hasStartedAt in interface CrawlSessionSummaryOrBuilder
      Returns:
      Whether the startedAt field is set.
    • getStartedAt

      public com.google.protobuf.Timestamp getStartedAt()
       Timestamp when crawl started.
       
      .google.protobuf.Timestamp started_at = 3 [json_name = "startedAt"];
      Specified by:
      getStartedAt in interface CrawlSessionSummaryOrBuilder
      Returns:
      The startedAt.
    • getStartedAtOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartedAtOrBuilder()
       Timestamp when crawl started.
       
      .google.protobuf.Timestamp started_at = 3 [json_name = "startedAt"];
      Specified by:
      getStartedAtOrBuilder in interface CrawlSessionSummaryOrBuilder
    • hasCompletedAt

      public boolean hasCompletedAt()
       Timestamp when crawl completed.
       
      .google.protobuf.Timestamp completed_at = 4 [json_name = "completedAt"];
      Specified by:
      hasCompletedAt in interface CrawlSessionSummaryOrBuilder
      Returns:
      Whether the completedAt field is set.
    • getCompletedAt

      public com.google.protobuf.Timestamp getCompletedAt()
       Timestamp when crawl completed.
       
      .google.protobuf.Timestamp completed_at = 4 [json_name = "completedAt"];
      Specified by:
      getCompletedAt in interface CrawlSessionSummaryOrBuilder
      Returns:
      The completedAt.
    • getCompletedAtOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCompletedAtOrBuilder()
       Timestamp when crawl completed.
       
      .google.protobuf.Timestamp completed_at = 4 [json_name = "completedAt"];
      Specified by:
      getCompletedAtOrBuilder in interface CrawlSessionSummaryOrBuilder
    • getDocumentsFound

      public int getDocumentsFound()
       Total documents found.
       
      int32 documents_found = 5 [json_name = "documentsFound"];
      Specified by:
      getDocumentsFound in interface CrawlSessionSummaryOrBuilder
      Returns:
      The documentsFound.
    • getDocumentsProcessed

      public int getDocumentsProcessed()
       Documents successfully processed.
       
      int32 documents_processed = 6 [json_name = "documentsProcessed"];
      Specified by:
      getDocumentsProcessed in interface CrawlSessionSummaryOrBuilder
      Returns:
      The documentsProcessed.
    • getDocumentsFailed

      public int getDocumentsFailed()
       Documents that failed processing.
       
      int32 documents_failed = 7 [json_name = "documentsFailed"];
      Specified by:
      getDocumentsFailed in interface CrawlSessionSummaryOrBuilder
      Returns:
      The documentsFailed.
    • getBytesProcessed

      public long getBytesProcessed()
       Total bytes processed.
       
      int64 bytes_processed = 8 [json_name = "bytesProcessed"];
      Specified by:
      getBytesProcessed in interface CrawlSessionSummaryOrBuilder
      Returns:
      The bytesProcessed.
    • getStatus

      public String getStatus()
       Status of the crawl (e.g., "RUNNING", "COMPLETED", "FAILED").
       
      string status = 9 [json_name = "status"];
      Specified by:
      getStatus in interface CrawlSessionSummaryOrBuilder
      Returns:
      The status.
    • getStatusBytes

      public com.google.protobuf.ByteString getStatusBytes()
       Status of the crawl (e.g., "RUNNING", "COMPLETED", "FAILED").
       
      string status = 9 [json_name = "status"];
      Specified by:
      getStatusBytes in interface CrawlSessionSummaryOrBuilder
      Returns:
      The bytes for status.
    • getMetadataCount

      public int getMetadataCount()
      Description copied from interface: CrawlSessionSummaryOrBuilder
       Additional metadata as key-value pairs.
       
      map<string, string> metadata = 10 [json_name = "metadata"];
      Specified by:
      getMetadataCount in interface CrawlSessionSummaryOrBuilder
    • containsMetadata

      public boolean containsMetadata(String key)
       Additional metadata as key-value pairs.
       
      map<string, string> metadata = 10 [json_name = "metadata"];
      Specified by:
      containsMetadata in interface CrawlSessionSummaryOrBuilder
    • getMetadata

      @Deprecated public Map<String,String> getMetadata()
      Deprecated.
      Use getMetadataMap() instead.
      Specified by:
      getMetadata in interface CrawlSessionSummaryOrBuilder
    • getMetadataMap

      public Map<String,String> getMetadataMap()
       Additional metadata as key-value pairs.
       
      map<string, string> metadata = 10 [json_name = "metadata"];
      Specified by:
      getMetadataMap in interface CrawlSessionSummaryOrBuilder
    • getMetadataOrDefault

      public String getMetadataOrDefault(String key, String defaultValue)
       Additional metadata as key-value pairs.
       
      map<string, string> metadata = 10 [json_name = "metadata"];
      Specified by:
      getMetadataOrDefault in interface CrawlSessionSummaryOrBuilder
    • getMetadataOrThrow

      public String getMetadataOrThrow(String key)
       Additional metadata as key-value pairs.
       
      map<string, string> metadata = 10 [json_name = "metadata"];
      Specified by:
      getMetadataOrThrow in interface CrawlSessionSummaryOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static CrawlSessionSummary parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CrawlSessionSummary parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CrawlSessionSummary parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CrawlSessionSummary parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CrawlSessionSummary parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CrawlSessionSummary parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CrawlSessionSummary parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CrawlSessionSummary parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CrawlSessionSummary parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CrawlSessionSummary parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CrawlSessionSummary parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CrawlSessionSummary parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public CrawlSessionSummary.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static CrawlSessionSummary.Builder newBuilder()
    • newBuilder

      public static CrawlSessionSummary.Builder newBuilder(CrawlSessionSummary prototype)
    • toBuilder

      public CrawlSessionSummary.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected CrawlSessionSummary.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static CrawlSessionSummary getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<CrawlSessionSummary> parser()
    • getParserForType

      public com.google.protobuf.Parser<CrawlSessionSummary> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public CrawlSessionSummary getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder