Class CrawlSessionSummary.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<CrawlSessionSummary.Builder>
com.google.protobuf.GeneratedMessage.Builder<CrawlSessionSummary.Builder>
ai.pipestream.connector.intake.v1.CrawlSessionSummary.Builder
- All Implemented Interfaces:
CrawlSessionSummaryOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
CrawlSessionSummary
public static final class CrawlSessionSummary.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CrawlSessionSummary.Builder>
implements CrawlSessionSummaryOrBuilder
Summary of a completed crawl session.Protobuf type
ai.pipestream.connector.intake.v1.CrawlSessionSummary-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Total bytes processed.Timestamp when crawl completed.Crawl identifier.Documents that failed processing.Total documents found.Documents successfully processed.Session identifier.Timestamp when crawl started.Status of the crawl (e.g., "RUNNING", "COMPLETED", "FAILED").booleancontainsMetadata(String key) Additional metadata as key-value pairs.longTotal bytes processed.com.google.protobuf.TimestampTimestamp when crawl completed.com.google.protobuf.Timestamp.BuilderTimestamp when crawl completed.com.google.protobuf.TimestampOrBuilderTimestamp when crawl completed.Crawl identifier.com.google.protobuf.ByteStringCrawl identifier.static final com.google.protobuf.Descriptors.Descriptorcom.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.Deprecated.Session identifier.com.google.protobuf.ByteStringSession identifier.com.google.protobuf.TimestampTimestamp when crawl started.com.google.protobuf.Timestamp.BuilderTimestamp 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.booleanTimestamp when crawl started.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCompletedAt(com.google.protobuf.Timestamp value) Timestamp when crawl completed.mergeFrom(CrawlSessionSummary other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeStartedAt(com.google.protobuf.Timestamp value) Timestamp when crawl started.putAllMetadata(Map<String, String> values) Additional metadata as key-value pairs.putMetadata(String key, String value) Additional metadata as key-value pairs.removeMetadata(String key) Additional metadata as key-value pairs.setBytesProcessed(long value) Total bytes processed.setCompletedAt(com.google.protobuf.Timestamp value) Timestamp when crawl completed.setCompletedAt(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp when crawl completed.setCrawlId(String value) Crawl identifier.setCrawlIdBytes(com.google.protobuf.ByteString value) Crawl identifier.setDocumentsFailed(int value) Documents that failed processing.setDocumentsFound(int value) Total documents found.setDocumentsProcessed(int value) Documents successfully processed.setSessionId(String value) Session identifier.setSessionIdBytes(com.google.protobuf.ByteString value) Session identifier.setStartedAt(com.google.protobuf.Timestamp value) Timestamp when crawl started.setStartedAt(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp when crawl started.Status of the crawl (e.g., "RUNNING", "COMPLETED", "FAILED").setStatusBytes(com.google.protobuf.ByteString value) Status of the crawl (e.g., "RUNNING", "COMPLETED", "FAILED").Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<CrawlSessionSummary.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<CrawlSessionSummary.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CrawlSessionSummary.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CrawlSessionSummary.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<CrawlSessionSummary.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CrawlSessionSummary.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CrawlSessionSummary.Builder>
-
mergeFrom
public CrawlSessionSummary.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CrawlSessionSummary.Builder>- Throws:
IOException
-
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.
-
setSessionId
Session identifier.
string session_id = 1 [json_name = "sessionId"];- Parameters:
value- The sessionId to set.- Returns:
- This builder for chaining.
-
clearSessionId
Session identifier.
string session_id = 1 [json_name = "sessionId"];- Returns:
- This builder for chaining.
-
setSessionIdBytes
Session identifier.
string session_id = 1 [json_name = "sessionId"];- Parameters:
value- The bytes for sessionId to set.- Returns:
- This builder for chaining.
-
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.
-
setCrawlId
Crawl identifier.
string crawl_id = 2 [json_name = "crawlId"];- Parameters:
value- The crawlId to set.- Returns:
- This builder for chaining.
-
clearCrawlId
Crawl identifier.
string crawl_id = 2 [json_name = "crawlId"];- Returns:
- This builder for chaining.
-
setCrawlIdBytes
Crawl identifier.
string crawl_id = 2 [json_name = "crawlId"];- Parameters:
value- The bytes for crawlId to set.- Returns:
- This builder for chaining.
-
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.
-
setStartedAt
Timestamp when crawl started.
.google.protobuf.Timestamp started_at = 3 [json_name = "startedAt"]; -
setStartedAt
public CrawlSessionSummary.Builder setStartedAt(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp when crawl started.
.google.protobuf.Timestamp started_at = 3 [json_name = "startedAt"]; -
mergeStartedAt
Timestamp when crawl started.
.google.protobuf.Timestamp started_at = 3 [json_name = "startedAt"]; -
clearStartedAt
Timestamp when crawl started.
.google.protobuf.Timestamp started_at = 3 [json_name = "startedAt"]; -
getStartedAtBuilder
public com.google.protobuf.Timestamp.Builder getStartedAtBuilder()Timestamp when crawl started.
.google.protobuf.Timestamp started_at = 3 [json_name = "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.
-
setCompletedAt
Timestamp when crawl completed.
.google.protobuf.Timestamp completed_at = 4 [json_name = "completedAt"]; -
setCompletedAt
public CrawlSessionSummary.Builder setCompletedAt(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp when crawl completed.
.google.protobuf.Timestamp completed_at = 4 [json_name = "completedAt"]; -
mergeCompletedAt
Timestamp when crawl completed.
.google.protobuf.Timestamp completed_at = 4 [json_name = "completedAt"]; -
clearCompletedAt
Timestamp when crawl completed.
.google.protobuf.Timestamp completed_at = 4 [json_name = "completedAt"]; -
getCompletedAtBuilder
public com.google.protobuf.Timestamp.Builder getCompletedAtBuilder()Timestamp when crawl completed.
.google.protobuf.Timestamp completed_at = 4 [json_name = "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.
-
setDocumentsFound
Total documents found.
int32 documents_found = 5 [json_name = "documentsFound"];- Parameters:
value- The documentsFound to set.- Returns:
- This builder for chaining.
-
clearDocumentsFound
Total documents found.
int32 documents_found = 5 [json_name = "documentsFound"];- Returns:
- This builder for chaining.
-
getDocumentsProcessed
public int getDocumentsProcessed()Documents successfully processed.
int32 documents_processed = 6 [json_name = "documentsProcessed"];- Specified by:
getDocumentsProcessedin interfaceCrawlSessionSummaryOrBuilder- Returns:
- The documentsProcessed.
-
setDocumentsProcessed
Documents successfully processed.
int32 documents_processed = 6 [json_name = "documentsProcessed"];- Parameters:
value- The documentsProcessed to set.- Returns:
- This builder for chaining.
-
clearDocumentsProcessed
Documents successfully processed.
int32 documents_processed = 6 [json_name = "documentsProcessed"];- Returns:
- This builder for chaining.
-
getDocumentsFailed
public int getDocumentsFailed()Documents that failed processing.
int32 documents_failed = 7 [json_name = "documentsFailed"];- Specified by:
getDocumentsFailedin interfaceCrawlSessionSummaryOrBuilder- Returns:
- The documentsFailed.
-
setDocumentsFailed
Documents that failed processing.
int32 documents_failed = 7 [json_name = "documentsFailed"];- Parameters:
value- The documentsFailed to set.- Returns:
- This builder for chaining.
-
clearDocumentsFailed
Documents that failed processing.
int32 documents_failed = 7 [json_name = "documentsFailed"];- Returns:
- This builder for chaining.
-
getBytesProcessed
public long getBytesProcessed()Total bytes processed.
int64 bytes_processed = 8 [json_name = "bytesProcessed"];- Specified by:
getBytesProcessedin interfaceCrawlSessionSummaryOrBuilder- Returns:
- The bytesProcessed.
-
setBytesProcessed
Total bytes processed.
int64 bytes_processed = 8 [json_name = "bytesProcessed"];- Parameters:
value- The bytesProcessed to set.- Returns:
- This builder for chaining.
-
clearBytesProcessed
Total bytes processed.
int64 bytes_processed = 8 [json_name = "bytesProcessed"];- Returns:
- This builder for chaining.
-
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.
-
setStatus
Status of the crawl (e.g., "RUNNING", "COMPLETED", "FAILED").
string status = 9 [json_name = "status"];- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
Status of the crawl (e.g., "RUNNING", "COMPLETED", "FAILED").
string status = 9 [json_name = "status"];- Returns:
- This builder for chaining.
-
setStatusBytes
Status of the crawl (e.g., "RUNNING", "COMPLETED", "FAILED").
string status = 9 [json_name = "status"];- Parameters:
value- The bytes for status to set.- Returns:
- This builder for chaining.
-
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
-
clearMetadata
-
removeMetadata
Additional metadata as key-value pairs.
map<string, string> metadata = 10 [json_name = "metadata"]; -
getMutableMetadata
Deprecated.Use alternate mutation accessors instead. -
putMetadata
Additional metadata as key-value pairs.
map<string, string> metadata = 10 [json_name = "metadata"]; -
putAllMetadata
Additional metadata as key-value pairs.
map<string, string> metadata = 10 [json_name = "metadata"];
-