Class AnalyticsChatCoworkUnifiedChatMetrics.Builder
-
- All Implemented Interfaces:
public final class AnalyticsChatCoworkUnifiedChatMetrics.BuilderA builder for AnalyticsChatCoworkUnifiedChatMetrics.
-
-
Method Summary
-
-
Method Detail
-
connectorsUsedCount
final AnalyticsChatCoworkUnifiedChatMetrics.Builder connectorsUsedCount(Long connectorsUsedCount)
Same measure as
chat_metrics.connectors_used_count, for activity recorded while members had Chat and Cowork unified turned on.
-
connectorsUsedCount
final AnalyticsChatCoworkUnifiedChatMetrics.Builder connectorsUsedCount(JsonField<Long> connectorsUsedCount)
Sets Builder.connectorsUsedCount to an arbitrary JSON value.
You should usually call Builder.connectorsUsedCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
distinctArtifactsCreatedCount
final AnalyticsChatCoworkUnifiedChatMetrics.Builder distinctArtifactsCreatedCount(Long distinctArtifactsCreatedCount)
Same measure as
chat_metrics.distinct_artifacts_created_count, for activity recorded while members had Chat and Cowork unified turned on. Exact in date-range mode: a creation belongs to exactly one day, so the per-day counts never overlap and their sum over the window is the exact count of distinct creations in it.
-
distinctArtifactsCreatedCount
final AnalyticsChatCoworkUnifiedChatMetrics.Builder distinctArtifactsCreatedCount(JsonField<Long> distinctArtifactsCreatedCount)
Sets Builder.distinctArtifactsCreatedCount to an arbitrary JSON value.
You should usually call Builder.distinctArtifactsCreatedCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
distinctConnectorsUsedCount
final AnalyticsChatCoworkUnifiedChatMetrics.Builder distinctConnectorsUsedCount(Long distinctConnectorsUsedCount)
Same measure as
chat_metrics.distinct_connectors_used_count, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
-
distinctConnectorsUsedCount
final AnalyticsChatCoworkUnifiedChatMetrics.Builder distinctConnectorsUsedCount(Long distinctConnectorsUsedCount)
Alias for Builder.distinctConnectorsUsedCount.
This unboxed primitive overload exists for backwards compatibility.
-
distinctConnectorsUsedCount
final AnalyticsChatCoworkUnifiedChatMetrics.Builder distinctConnectorsUsedCount(Optional<Long> distinctConnectorsUsedCount)
Alias for calling Builder.distinctConnectorsUsedCount with
distinctConnectorsUsedCount.orElse(null).
-
distinctConnectorsUsedCount
final AnalyticsChatCoworkUnifiedChatMetrics.Builder distinctConnectorsUsedCount(JsonField<Long> distinctConnectorsUsedCount)
Sets Builder.distinctConnectorsUsedCount to an arbitrary JSON value.
You should usually call Builder.distinctConnectorsUsedCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
distinctConversationCount
final AnalyticsChatCoworkUnifiedChatMetrics.Builder distinctConversationCount(Long distinctConversationCount)
Same measure as
chat_metrics.distinct_conversation_count, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
-
distinctConversationCount
final AnalyticsChatCoworkUnifiedChatMetrics.Builder distinctConversationCount(Long distinctConversationCount)
Alias for Builder.distinctConversationCount.
This unboxed primitive overload exists for backwards compatibility.
-
distinctConversationCount
final AnalyticsChatCoworkUnifiedChatMetrics.Builder distinctConversationCount(Optional<Long> distinctConversationCount)
Alias for calling Builder.distinctConversationCount with
distinctConversationCount.orElse(null).
-
distinctConversationCount
final AnalyticsChatCoworkUnifiedChatMetrics.Builder distinctConversationCount(JsonField<Long> distinctConversationCount)
Sets Builder.distinctConversationCount to an arbitrary JSON value.
You should usually call Builder.distinctConversationCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
distinctFilesUploadedCount
final AnalyticsChatCoworkUnifiedChatMetrics.Builder distinctFilesUploadedCount(Long distinctFilesUploadedCount)
Same measure as
chat_metrics.distinct_files_uploaded_count, for activity recorded while members had Chat and Cowork unified turned on. It counts uploaded files as well as files Claude created and images returned by Claude's tools, such as screenshots. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
-
distinctFilesUploadedCount
final AnalyticsChatCoworkUnifiedChatMetrics.Builder distinctFilesUploadedCount(Long distinctFilesUploadedCount)
Alias for Builder.distinctFilesUploadedCount.
This unboxed primitive overload exists for backwards compatibility.
-
distinctFilesUploadedCount
final AnalyticsChatCoworkUnifiedChatMetrics.Builder distinctFilesUploadedCount(Optional<Long> distinctFilesUploadedCount)
Alias for calling Builder.distinctFilesUploadedCount with
distinctFilesUploadedCount.orElse(null).
-
distinctFilesUploadedCount
final AnalyticsChatCoworkUnifiedChatMetrics.Builder distinctFilesUploadedCount(JsonField<Long> distinctFilesUploadedCount)
Sets Builder.distinctFilesUploadedCount to an arbitrary JSON value.
You should usually call Builder.distinctFilesUploadedCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
distinctProjectsCreatedCount
final AnalyticsChatCoworkUnifiedChatMetrics.Builder distinctProjectsCreatedCount(Long distinctProjectsCreatedCount)
Same measure as
chat_metrics.distinct_projects_created_count, for activity recorded while members had Chat and Cowork unified turned on. Exact in date-range mode: a creation belongs to exactly one day, so the per-day counts never overlap and their sum over the window is the exact count of distinct creations in it.
-
distinctProjectsCreatedCount
final AnalyticsChatCoworkUnifiedChatMetrics.Builder distinctProjectsCreatedCount(JsonField<Long> distinctProjectsCreatedCount)
Sets Builder.distinctProjectsCreatedCount to an arbitrary JSON value.
You should usually call Builder.distinctProjectsCreatedCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
distinctProjectsUsedCount
final AnalyticsChatCoworkUnifiedChatMetrics.Builder distinctProjectsUsedCount(Long distinctProjectsUsedCount)
Same measure as
chat_metrics.distinct_projects_used_count, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
-
distinctProjectsUsedCount
final AnalyticsChatCoworkUnifiedChatMetrics.Builder distinctProjectsUsedCount(Long distinctProjectsUsedCount)
Alias for Builder.distinctProjectsUsedCount.
This unboxed primitive overload exists for backwards compatibility.
-
distinctProjectsUsedCount
final AnalyticsChatCoworkUnifiedChatMetrics.Builder distinctProjectsUsedCount(Optional<Long> distinctProjectsUsedCount)
Alias for calling Builder.distinctProjectsUsedCount with
distinctProjectsUsedCount.orElse(null).
-
distinctProjectsUsedCount
final AnalyticsChatCoworkUnifiedChatMetrics.Builder distinctProjectsUsedCount(JsonField<Long> distinctProjectsUsedCount)
Sets Builder.distinctProjectsUsedCount to an arbitrary JSON value.
You should usually call Builder.distinctProjectsUsedCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
distinctSharedArtifactsViewedCount
final AnalyticsChatCoworkUnifiedChatMetrics.Builder distinctSharedArtifactsViewedCount(Long distinctSharedArtifactsViewedCount)
Always null: shared-artifact views are not currently measured.
-
distinctSharedArtifactsViewedCount
final AnalyticsChatCoworkUnifiedChatMetrics.Builder distinctSharedArtifactsViewedCount(Long distinctSharedArtifactsViewedCount)
Alias for Builder.distinctSharedArtifactsViewedCount.
This unboxed primitive overload exists for backwards compatibility.
-
distinctSharedArtifactsViewedCount
final AnalyticsChatCoworkUnifiedChatMetrics.Builder distinctSharedArtifactsViewedCount(Optional<Long> distinctSharedArtifactsViewedCount)
Alias for calling Builder.distinctSharedArtifactsViewedCount with
distinctSharedArtifactsViewedCount.orElse(null).
-
distinctSharedArtifactsViewedCount
final AnalyticsChatCoworkUnifiedChatMetrics.Builder distinctSharedArtifactsViewedCount(JsonField<Long> distinctSharedArtifactsViewedCount)
Sets Builder.distinctSharedArtifactsViewedCount to an arbitrary JSON value.
You should usually call Builder.distinctSharedArtifactsViewedCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
distinctSkillsUsedCount
final AnalyticsChatCoworkUnifiedChatMetrics.Builder distinctSkillsUsedCount(Long distinctSkillsUsedCount)
Same measure as
chat_metrics.distinct_skills_used_count, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
-
distinctSkillsUsedCount
final AnalyticsChatCoworkUnifiedChatMetrics.Builder distinctSkillsUsedCount(Long distinctSkillsUsedCount)
Alias for Builder.distinctSkillsUsedCount.
This unboxed primitive overload exists for backwards compatibility.
-
distinctSkillsUsedCount
final AnalyticsChatCoworkUnifiedChatMetrics.Builder distinctSkillsUsedCount(Optional<Long> distinctSkillsUsedCount)
Alias for calling Builder.distinctSkillsUsedCount with
distinctSkillsUsedCount.orElse(null).
-
distinctSkillsUsedCount
final AnalyticsChatCoworkUnifiedChatMetrics.Builder distinctSkillsUsedCount(JsonField<Long> distinctSkillsUsedCount)
Sets Builder.distinctSkillsUsedCount to an arbitrary JSON value.
You should usually call Builder.distinctSkillsUsedCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
messageCount
final AnalyticsChatCoworkUnifiedChatMetrics.Builder messageCount(Long messageCount)
Same measure as
chat_metrics.message_count, for activity recorded while members had Chat and Cowork unified turned on.
-
messageCount
final AnalyticsChatCoworkUnifiedChatMetrics.Builder messageCount(JsonField<Long> messageCount)
Sets Builder.messageCount to an arbitrary JSON value.
You should usually call Builder.messageCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
sharedConversationsViewedCount
final AnalyticsChatCoworkUnifiedChatMetrics.Builder sharedConversationsViewedCount(Long sharedConversationsViewedCount)
Same measure as
chat_metrics.shared_conversations_viewed_count, for activity recorded while members had Chat and Cowork unified turned on.
-
sharedConversationsViewedCount
final AnalyticsChatCoworkUnifiedChatMetrics.Builder sharedConversationsViewedCount(JsonField<Long> sharedConversationsViewedCount)
Sets Builder.sharedConversationsViewedCount to an arbitrary JSON value.
You should usually call Builder.sharedConversationsViewedCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
thinkingMessageCount
final AnalyticsChatCoworkUnifiedChatMetrics.Builder thinkingMessageCount(Long thinkingMessageCount)
Same measure as
chat_metrics.thinking_message_count, for activity recorded while members had Chat and Cowork unified turned on.
-
thinkingMessageCount
final AnalyticsChatCoworkUnifiedChatMetrics.Builder thinkingMessageCount(JsonField<Long> thinkingMessageCount)
Sets Builder.thinkingMessageCount to an arbitrary JSON value.
You should usually call Builder.thinkingMessageCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final AnalyticsChatCoworkUnifiedChatMetrics.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final AnalyticsChatCoworkUnifiedChatMetrics.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final AnalyticsChatCoworkUnifiedChatMetrics.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final AnalyticsChatCoworkUnifiedChatMetrics.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final AnalyticsChatCoworkUnifiedChatMetrics.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final AnalyticsChatCoworkUnifiedChatMetrics build()
Returns an immutable instance of AnalyticsChatCoworkUnifiedChatMetrics.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.connectorsUsedCount() .distinctArtifactsCreatedCount() .distinctConnectorsUsedCount() .distinctConversationCount() .distinctFilesUploadedCount() .distinctProjectsCreatedCount() .distinctProjectsUsedCount() .distinctSharedArtifactsViewedCount() .distinctSkillsUsedCount() .messageCount() .sharedConversationsViewedCount() .thinkingMessageCount()
-
-
-
-