Class BetaAnalyticsChatCoworkUnifiedChatMetrics.Builder
-
- All Implemented Interfaces:
public final class BetaAnalyticsChatCoworkUnifiedChatMetrics.BuilderA builder for BetaAnalyticsChatCoworkUnifiedChatMetrics.
-
-
Method Summary
-
-
Method Detail
-
connectorsUsedCount
final BetaAnalyticsChatCoworkUnifiedChatMetrics.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 BetaAnalyticsChatCoworkUnifiedChatMetrics.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 BetaAnalyticsChatCoworkUnifiedChatMetrics.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 BetaAnalyticsChatCoworkUnifiedChatMetrics.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 BetaAnalyticsChatCoworkUnifiedChatMetrics.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 BetaAnalyticsChatCoworkUnifiedChatMetrics.Builder distinctConnectorsUsedCount(Long distinctConnectorsUsedCount)
Alias for Builder.distinctConnectorsUsedCount.
This unboxed primitive overload exists for backwards compatibility.
-
distinctConnectorsUsedCount
final BetaAnalyticsChatCoworkUnifiedChatMetrics.Builder distinctConnectorsUsedCount(Optional<Long> distinctConnectorsUsedCount)
Alias for calling Builder.distinctConnectorsUsedCount with
distinctConnectorsUsedCount.orElse(null).
-
distinctConnectorsUsedCount
final BetaAnalyticsChatCoworkUnifiedChatMetrics.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 BetaAnalyticsChatCoworkUnifiedChatMetrics.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 BetaAnalyticsChatCoworkUnifiedChatMetrics.Builder distinctConversationCount(Long distinctConversationCount)
Alias for Builder.distinctConversationCount.
This unboxed primitive overload exists for backwards compatibility.
-
distinctConversationCount
final BetaAnalyticsChatCoworkUnifiedChatMetrics.Builder distinctConversationCount(Optional<Long> distinctConversationCount)
Alias for calling Builder.distinctConversationCount with
distinctConversationCount.orElse(null).
-
distinctConversationCount
final BetaAnalyticsChatCoworkUnifiedChatMetrics.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 BetaAnalyticsChatCoworkUnifiedChatMetrics.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 BetaAnalyticsChatCoworkUnifiedChatMetrics.Builder distinctFilesUploadedCount(Long distinctFilesUploadedCount)
Alias for Builder.distinctFilesUploadedCount.
This unboxed primitive overload exists for backwards compatibility.
-
distinctFilesUploadedCount
final BetaAnalyticsChatCoworkUnifiedChatMetrics.Builder distinctFilesUploadedCount(Optional<Long> distinctFilesUploadedCount)
Alias for calling Builder.distinctFilesUploadedCount with
distinctFilesUploadedCount.orElse(null).
-
distinctFilesUploadedCount
final BetaAnalyticsChatCoworkUnifiedChatMetrics.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 BetaAnalyticsChatCoworkUnifiedChatMetrics.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 BetaAnalyticsChatCoworkUnifiedChatMetrics.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 BetaAnalyticsChatCoworkUnifiedChatMetrics.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 BetaAnalyticsChatCoworkUnifiedChatMetrics.Builder distinctProjectsUsedCount(Long distinctProjectsUsedCount)
Alias for Builder.distinctProjectsUsedCount.
This unboxed primitive overload exists for backwards compatibility.
-
distinctProjectsUsedCount
final BetaAnalyticsChatCoworkUnifiedChatMetrics.Builder distinctProjectsUsedCount(Optional<Long> distinctProjectsUsedCount)
Alias for calling Builder.distinctProjectsUsedCount with
distinctProjectsUsedCount.orElse(null).
-
distinctProjectsUsedCount
final BetaAnalyticsChatCoworkUnifiedChatMetrics.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 BetaAnalyticsChatCoworkUnifiedChatMetrics.Builder distinctSharedArtifactsViewedCount(Long distinctSharedArtifactsViewedCount)
Always null: shared-artifact views are not currently measured.
-
distinctSharedArtifactsViewedCount
final BetaAnalyticsChatCoworkUnifiedChatMetrics.Builder distinctSharedArtifactsViewedCount(Long distinctSharedArtifactsViewedCount)
Alias for Builder.distinctSharedArtifactsViewedCount.
This unboxed primitive overload exists for backwards compatibility.
-
distinctSharedArtifactsViewedCount
final BetaAnalyticsChatCoworkUnifiedChatMetrics.Builder distinctSharedArtifactsViewedCount(Optional<Long> distinctSharedArtifactsViewedCount)
Alias for calling Builder.distinctSharedArtifactsViewedCount with
distinctSharedArtifactsViewedCount.orElse(null).
-
distinctSharedArtifactsViewedCount
final BetaAnalyticsChatCoworkUnifiedChatMetrics.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 BetaAnalyticsChatCoworkUnifiedChatMetrics.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 BetaAnalyticsChatCoworkUnifiedChatMetrics.Builder distinctSkillsUsedCount(Long distinctSkillsUsedCount)
Alias for Builder.distinctSkillsUsedCount.
This unboxed primitive overload exists for backwards compatibility.
-
distinctSkillsUsedCount
final BetaAnalyticsChatCoworkUnifiedChatMetrics.Builder distinctSkillsUsedCount(Optional<Long> distinctSkillsUsedCount)
Alias for calling Builder.distinctSkillsUsedCount with
distinctSkillsUsedCount.orElse(null).
-
distinctSkillsUsedCount
final BetaAnalyticsChatCoworkUnifiedChatMetrics.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 BetaAnalyticsChatCoworkUnifiedChatMetrics.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 BetaAnalyticsChatCoworkUnifiedChatMetrics.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 BetaAnalyticsChatCoworkUnifiedChatMetrics.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 BetaAnalyticsChatCoworkUnifiedChatMetrics.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 BetaAnalyticsChatCoworkUnifiedChatMetrics.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 BetaAnalyticsChatCoworkUnifiedChatMetrics.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 BetaAnalyticsChatCoworkUnifiedChatMetrics.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaAnalyticsChatCoworkUnifiedChatMetrics.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaAnalyticsChatCoworkUnifiedChatMetrics.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaAnalyticsChatCoworkUnifiedChatMetrics.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaAnalyticsChatCoworkUnifiedChatMetrics.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaAnalyticsChatCoworkUnifiedChatMetrics build()
Returns an immutable instance of BetaAnalyticsChatCoworkUnifiedChatMetrics.
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()
-
-
-
-