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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSummary of a completed crawl session.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsMetadata(String key) Additional metadata as key-value pairs.booleanlongTotal bytes processed.com.google.protobuf.TimestampTimestamp when crawl completed.com.google.protobuf.TimestampOrBuilderTimestamp when crawl completed.Crawl identifier.com.google.protobuf.ByteStringCrawl identifier.static CrawlSessionSummarystatic final com.google.protobuf.Descriptors.DescriptorintDocuments that failed processing.intTotal documents found.intDocuments successfully processed.Deprecated.intAdditional metadata as key-value pairs.Additional metadata as key-value pairs.getMetadataOrDefault(String key, String defaultValue) Additional metadata as key-value pairs.getMetadataOrThrow(String key) Additional metadata as key-value pairs.com.google.protobuf.Parser<CrawlSessionSummary> intSession identifier.com.google.protobuf.ByteStringSession identifier.com.google.protobuf.TimestampTimestamp when crawl started.com.google.protobuf.TimestampOrBuilderTimestamp when crawl started.Status of the crawl (e.g., "RUNNING", "COMPLETED", "FAILED").com.google.protobuf.ByteStringStatus of the crawl (e.g., "RUNNING", "COMPLETED", "FAILED").booleanTimestamp when crawl completed.inthashCode()booleanTimestamp when crawl started.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic CrawlSessionSummary.Builderstatic CrawlSessionSummary.BuildernewBuilder(CrawlSessionSummary prototype) protected CrawlSessionSummary.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static CrawlSessionSummaryparseDelimitedFrom(InputStream input) static CrawlSessionSummaryparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CrawlSessionSummaryparseFrom(byte[] data) static CrawlSessionSummaryparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CrawlSessionSummaryparseFrom(com.google.protobuf.ByteString data) static CrawlSessionSummaryparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CrawlSessionSummaryparseFrom(com.google.protobuf.CodedInputStream input) static CrawlSessionSummaryparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CrawlSessionSummaryparseFrom(InputStream input) static CrawlSessionSummaryparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CrawlSessionSummaryparseFrom(ByteBuffer data) static CrawlSessionSummaryparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<CrawlSessionSummary> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getSessionId
Session identifier.
string session_id = 1 [json_name = "sessionId"];- Specified by:
getSessionIdin interfaceCrawlSessionSummaryOrBuilder- Returns:
- The sessionId.
-
getSessionIdBytes
public com.google.protobuf.ByteString getSessionIdBytes()Session identifier.
string session_id = 1 [json_name = "sessionId"];- Specified by:
getSessionIdBytesin interfaceCrawlSessionSummaryOrBuilder- Returns:
- The bytes for sessionId.
-
getCrawlId
Crawl identifier.
string crawl_id = 2 [json_name = "crawlId"];- Specified by:
getCrawlIdin interfaceCrawlSessionSummaryOrBuilder- Returns:
- The crawlId.
-
getCrawlIdBytes
public com.google.protobuf.ByteString getCrawlIdBytes()Crawl identifier.
string crawl_id = 2 [json_name = "crawlId"];- Specified by:
getCrawlIdBytesin interfaceCrawlSessionSummaryOrBuilder- Returns:
- The bytes for crawlId.
-
hasStartedAt
public boolean hasStartedAt()Timestamp when crawl started.
.google.protobuf.Timestamp started_at = 3 [json_name = "startedAt"];- Specified by:
hasStartedAtin interfaceCrawlSessionSummaryOrBuilder- 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:
getStartedAtin interfaceCrawlSessionSummaryOrBuilder- 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:
getStartedAtOrBuilderin interfaceCrawlSessionSummaryOrBuilder
-
hasCompletedAt
public boolean hasCompletedAt()Timestamp when crawl completed.
.google.protobuf.Timestamp completed_at = 4 [json_name = "completedAt"];- Specified by:
hasCompletedAtin interfaceCrawlSessionSummaryOrBuilder- 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:
getCompletedAtin interfaceCrawlSessionSummaryOrBuilder- 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:
getCompletedAtOrBuilderin interfaceCrawlSessionSummaryOrBuilder
-
getDocumentsFound
public int getDocumentsFound()Total documents found.
int32 documents_found = 5 [json_name = "documentsFound"];- Specified by:
getDocumentsFoundin interfaceCrawlSessionSummaryOrBuilder- Returns:
- The documentsFound.
-
getDocumentsProcessed
public int getDocumentsProcessed()Documents successfully processed.
int32 documents_processed = 6 [json_name = "documentsProcessed"];- Specified by:
getDocumentsProcessedin interfaceCrawlSessionSummaryOrBuilder- Returns:
- The documentsProcessed.
-
getDocumentsFailed
public int getDocumentsFailed()Documents that failed processing.
int32 documents_failed = 7 [json_name = "documentsFailed"];- Specified by:
getDocumentsFailedin interfaceCrawlSessionSummaryOrBuilder- Returns:
- The documentsFailed.
-
getBytesProcessed
public long getBytesProcessed()Total bytes processed.
int64 bytes_processed = 8 [json_name = "bytesProcessed"];- Specified by:
getBytesProcessedin interfaceCrawlSessionSummaryOrBuilder- Returns:
- The bytesProcessed.
-
getStatus
Status of the crawl (e.g., "RUNNING", "COMPLETED", "FAILED").
string status = 9 [json_name = "status"];- Specified by:
getStatusin interfaceCrawlSessionSummaryOrBuilder- 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:
getStatusBytesin interfaceCrawlSessionSummaryOrBuilder- Returns:
- The bytes for status.
-
getMetadataCount
public int getMetadataCount()Description copied from interface:CrawlSessionSummaryOrBuilderAdditional metadata as key-value pairs.
map<string, string> metadata = 10 [json_name = "metadata"];- Specified by:
getMetadataCountin interfaceCrawlSessionSummaryOrBuilder
-
containsMetadata
Additional metadata as key-value pairs.
map<string, string> metadata = 10 [json_name = "metadata"];- Specified by:
containsMetadatain interfaceCrawlSessionSummaryOrBuilder
-
getMetadata
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceCrawlSessionSummaryOrBuilder
-
getMetadataMap
Additional metadata as key-value pairs.
map<string, string> metadata = 10 [json_name = "metadata"];- Specified by:
getMetadataMapin interfaceCrawlSessionSummaryOrBuilder
-
getMetadataOrDefault
Additional metadata as key-value pairs.
map<string, string> metadata = 10 [json_name = "metadata"];- Specified by:
getMetadataOrDefaultin interfaceCrawlSessionSummaryOrBuilder
-
getMetadataOrThrow
Additional metadata as key-value pairs.
map<string, string> metadata = 10 [json_name = "metadata"];- Specified by:
getMetadataOrThrowin interfaceCrawlSessionSummaryOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static CrawlSessionSummary parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CrawlSessionSummary.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-