Namespaces

Enumerations

enum FetchCpuResult
Name Value
Ok 0
FirstDataPoint 1
Error 2

Defined at line 12 of file ../../src/cobalt/bin/system-metrics/cpu_stats_fetcher.h

enum LogMetricMethod
Name Value
kDefault 0
kLogOccurrence 1
kLogInteger 2
kLogIntegerHistogram 3
kLogString 4
kLogMetricEvents 5
kLogCustomEvent 6

Defined at line 12 of file ../../src/cobalt/bin/testing/log_metric_method.h

enum StatusCode
Name Value
OK 0
CANCELLED 1
UNKNOWN 2
INVALID_ARGUMENT 3
DEADLINE_EXCEEDED 4
NOT_FOUND 5
ALREADY_EXISTS 6
PERMISSION_DENIED 7
RESOURCE_EXHAUSTED 8
FAILED_PRECONDITION 9
ABORTED 10
OUT_OF_RANGE 11
UNIMPLEMENTED 12
INTERNAL 13
UNAVAILABLE 14
DATA_LOSS 15
UNAUTHENTICATED 16
DO_NOT_USE -1

Defined at line 14 of file ../../third_party/cobalt/src/public/lib/status_codes.h

enum WindowSize
Name Value
UNSET 0
WINDOW_1_DAY 1
WINDOW_7_DAYS 7
WINDOW_28_DAYS 28
WINDOW_30_DAYS 30
WindowSize_INT_MIN_SENTINEL_DO_NOT_USE_ std::numeric_limits<::int32_t>::min()
WindowSize_INT_MAX_SENTINEL_DO_NOT_USE_ std::numeric_limits<::int32_t>::max()

Defined at line 55 of file gen/third_party/cobalt/src/registry/window_size.pb.h

enum EncryptedMessage_EncryptionScheme
Name Value
EncryptedMessage_EncryptionScheme_NONE 0
EncryptedMessage_EncryptionScheme_HYBRID_ECDH_V1 1
EncryptedMessage_EncryptionScheme_HYBRID_TINK 2
EncryptedMessage_EncryptionScheme_EncryptedMessage_EncryptionScheme_INT_MIN_SENTINEL_DO_NOT_USE_ std::numeric_limits<::int32_t>::min()
EncryptedMessage_EncryptionScheme_EncryptedMessage_EncryptionScheme_INT_MAX_SENTINEL_DO_NOT_USE_ std::numeric_limits<::int32_t>::max()

Defined at line 61 of file gen/third_party/cobalt/src/pb/encrypted_message.pb.h

enum SystemProfile_OS
Name Value
SystemProfile_OS_UNKNOWN_OS 0
SystemProfile_OS_FUCHSIA 1
SystemProfile_OS_LINUX 2
SystemProfile_OS_ANDROID 3
SystemProfile_OS_SystemProfile_OS_INT_MIN_SENTINEL_DO_NOT_USE_ std::numeric_limits<::int32_t>::min()
SystemProfile_OS_SystemProfile_OS_INT_MAX_SENTINEL_DO_NOT_USE_ std::numeric_limits<::int32_t>::max()

Defined at line 61 of file gen/third_party/cobalt/src/pb/common.pb.h

enum MetricDefinition_StructField_FieldType
Name Value
MetricDefinition_StructField_FieldType_FIELD_TYPE_UNSPECIFIED 0
MetricDefinition_StructField_FieldType_BOOL 1
MetricDefinition_StructField_FieldType_ENUM 2
MetricDefinition_StructField_FieldType_STRING 3
MetricDefinition_StructField_FieldType_MetricDefinition_StructField_FieldType_INT_MIN_SENTINEL_DO_NOT_USE_ std::numeric_limits<::int32_t>::min()
MetricDefinition_StructField_FieldType_MetricDefinition_StructField_FieldType_INT_MAX_SENTINEL_DO_NOT_USE_ std::numeric_limits<::int32_t>::max()

Defined at line 73 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h

enum ReportDefinition_AggregateDefinition_AggregationFunction
Name Value
ReportDefinition_AggregateDefinition_AggregationFunction_UNSPECIFIED_AGGREGATION_FUNCTION 0
ReportDefinition_AggregateDefinition_AggregationFunction_GROUP_BY 1
ReportDefinition_AggregateDefinition_AggregationFunction_COUNT 2
ReportDefinition_AggregateDefinition_AggregationFunction_SUM 3
ReportDefinition_AggregateDefinition_AggregationFunction_MEAN 4
ReportDefinition_AggregateDefinition_AggregationFunction_ReportDefinition_AggregateDefinition_AggregationFunction_INT_MIN_SENTINEL_DO_NOT_USE_ std::numeric_limits<::int32_t>::min()
ReportDefinition_AggregateDefinition_AggregationFunction_ReportDefinition_AggregateDefinition_AggregationFunction_INT_MAX_SENTINEL_DO_NOT_USE_ std::numeric_limits<::int32_t>::max()

Defined at line 80 of file gen/third_party/cobalt/src/registry/report_definition.pb.h

enum SystemProfile_ARCH
Name Value
SystemProfile_ARCH_UNKNOWN_ARCH 0
SystemProfile_ARCH_X86_64 1
SystemProfile_ARCH_ARM_64 2
SystemProfile_ARCH_X86 3
SystemProfile_ARCH_X86_32 4
SystemProfile_ARCH_ARM_32 5
SystemProfile_ARCH_SystemProfile_ARCH_INT_MIN_SENTINEL_DO_NOT_USE_ std::numeric_limits<::int32_t>::min()
SystemProfile_ARCH_SystemProfile_ARCH_INT_MAX_SENTINEL_DO_NOT_USE_ std::numeric_limits<::int32_t>::max()

Defined at line 86 of file gen/third_party/cobalt/src/pb/common.pb.h

enum MetricDefinition_MetricType
Name Value
MetricDefinition_MetricType_UNSET 0
MetricDefinition_MetricType_OCCURRENCE 8
MetricDefinition_MetricType_INTEGER 9
MetricDefinition_MetricType_INTEGER_HISTOGRAM 10
MetricDefinition_MetricType_STRING 11
MetricDefinition_MetricType_STRUCT 12
MetricDefinition_MetricType_MetricDefinition_MetricType_INT_MIN_SENTINEL_DO_NOT_USE_ std::numeric_limits<::int32_t>::min()
MetricDefinition_MetricType_MetricDefinition_MetricType_INT_MAX_SENTINEL_DO_NOT_USE_ std::numeric_limits<::int32_t>::max()

Defined at line 98 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h

enum ReportDefinition_ShuffledDifferentialPrivacyConfig_DevicePrivacyDependencySet
Name Value
ReportDefinition_ShuffledDifferentialPrivacyConfig_DevicePrivacyDependencySet_DEVICE_PRIVACY_DEPENDENCY_SET_UNSET 0
ReportDefinition_ShuffledDifferentialPrivacyConfig_DevicePrivacyDependencySet_V1 1
ReportDefinition_ShuffledDifferentialPrivacyConfig_DevicePrivacyDependencySet_ReportDefinition_ShuffledDifferentialPrivacyConfig_DevicePrivacyDependencySet_INT_MIN_SENTINEL_DO_NOT_USE_ std::numeric_limits<::int32_t>::min()
ReportDefinition_ShuffledDifferentialPrivacyConfig_DevicePrivacyDependencySet_ReportDefinition_ShuffledDifferentialPrivacyConfig_DevicePrivacyDependencySet_INT_MAX_SENTINEL_DO_NOT_USE_ std::numeric_limits<::int32_t>::max()

Defined at line 106 of file gen/third_party/cobalt/src/registry/report_definition.pb.h

enum SystemProfile_BuildType
Name Value
SystemProfile_BuildType_UNKNOWN_TYPE 0
SystemProfile_BuildType_OTHER_TYPE 1
SystemProfile_BuildType_USER 2
SystemProfile_BuildType_USER_DEBUG 3
SystemProfile_BuildType_ENG 4
SystemProfile_BuildType_SystemProfile_BuildType_INT_MIN_SENTINEL_DO_NOT_USE_ std::numeric_limits<::int32_t>::min()
SystemProfile_BuildType_SystemProfile_BuildType_INT_MAX_SENTINEL_DO_NOT_USE_ std::numeric_limits<::int32_t>::max()

Defined at line 113 of file gen/third_party/cobalt/src/pb/common.pb.h

enum MetricDefinition_TimeZonePolicy
Name Value
MetricDefinition_TimeZonePolicy_UTC 0
MetricDefinition_TimeZonePolicy_LOCAL 1
MetricDefinition_TimeZonePolicy_OTHER_TIME_ZONE 2
MetricDefinition_TimeZonePolicy_MetricDefinition_TimeZonePolicy_INT_MIN_SENTINEL_DO_NOT_USE_ std::numeric_limits<::int32_t>::min()
MetricDefinition_TimeZonePolicy_MetricDefinition_TimeZonePolicy_INT_MAX_SENTINEL_DO_NOT_USE_ std::numeric_limits<::int32_t>::max()

Defined at line 125 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h

enum ReportDefinition_ReportType
Name Value
ReportDefinition_ReportType_REPORT_TYPE_UNSET 0
ReportDefinition_ReportType_FLEETWIDE_OCCURRENCE_COUNTS 11
ReportDefinition_ReportType_UNIQUE_DEVICE_COUNTS 12
ReportDefinition_ReportType_UNIQUE_DEVICE_HISTOGRAMS 13
ReportDefinition_ReportType_HOURLY_VALUE_HISTOGRAMS 14
ReportDefinition_ReportType_FLEETWIDE_HISTOGRAMS 15
ReportDefinition_ReportType_FLEETWIDE_MEANS 16
ReportDefinition_ReportType_UNIQUE_DEVICE_NUMERIC_STATS 17
ReportDefinition_ReportType_HOURLY_VALUE_NUMERIC_STATS 18
ReportDefinition_ReportType_STRING_COUNTS 20
ReportDefinition_ReportType_UNIQUE_DEVICE_STRING_COUNTS 21
ReportDefinition_ReportType_STRUCT 22
ReportDefinition_ReportType_ReportDefinition_ReportType_INT_MIN_SENTINEL_DO_NOT_USE_ std::numeric_limits<::int32_t>::min()
ReportDefinition_ReportType_ReportDefinition_ReportType_INT_MAX_SENTINEL_DO_NOT_USE_ std::numeric_limits<::int32_t>::max()

Defined at line 129 of file gen/third_party/cobalt/src/registry/report_definition.pb.h

enum MetricUnits
Name Value
METRIC_UNITS_OTHER 0
NANOSECONDS 1
MICROSECONDS 2
MILLISECONDS 3
SECONDS 4
MINUTES 5
BYTES 6
KIBIBYTES 7
KILOBYTES 8
MEBIBYTES 9
MEGABYTES 10
MetricUnits_INT_MIN_SENTINEL_DO_NOT_USE_ std::numeric_limits<::int32_t>::min()
MetricUnits_INT_MAX_SENTINEL_DO_NOT_USE_ std::numeric_limits<::int32_t>::max()

Defined at line 149 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h

enum ReportDefinition_ReportingInterval
Name Value
ReportDefinition_ReportingInterval_REPORTING_INTERVAL_UNSET 0
ReportDefinition_ReportingInterval_HOURS_1 1
ReportDefinition_ReportingInterval_DAYS_1 2
ReportDefinition_ReportingInterval_ReportDefinition_ReportingInterval_INT_MIN_SENTINEL_DO_NOT_USE_ std::numeric_limits<::int32_t>::min()
ReportDefinition_ReportingInterval_ReportDefinition_ReportingInterval_INT_MAX_SENTINEL_DO_NOT_USE_ std::numeric_limits<::int32_t>::max()

Defined at line 162 of file gen/third_party/cobalt/src/registry/report_definition.pb.h

enum MetricSemantics
Name Value
METRIC_SEMANTICS_UNSPECIFIED 0
CPU 1
DATA_SIZE 2
FRAME_RENDERING 3
LATENCY 4
MEMORY_USAGE 5
NETWORK_COMMUNICATION 6
OUTSIDE_ENVIRONMENT 7
USAGE_COUNTING 8
MetricSemantics_INT_MIN_SENTINEL_DO_NOT_USE_ std::numeric_limits<::int32_t>::min()
MetricSemantics_INT_MAX_SENTINEL_DO_NOT_USE_ std::numeric_limits<::int32_t>::max()

Defined at line 181 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h

enum ReportDefinition_LocalAggregationProcedure
Name Value
ReportDefinition_LocalAggregationProcedure_LOCAL_AGGREGATION_PROCEDURE_UNSET 0
ReportDefinition_LocalAggregationProcedure_SUM_PROCEDURE 1
ReportDefinition_LocalAggregationProcedure_MIN_PROCEDURE 2
ReportDefinition_LocalAggregationProcedure_MAX_PROCEDURE 3
ReportDefinition_LocalAggregationProcedure_MEAN 4
ReportDefinition_LocalAggregationProcedure_MEDIAN 5
ReportDefinition_LocalAggregationProcedure_PERCENTILE_N 6
ReportDefinition_LocalAggregationProcedure_AT_LEAST_ONCE 7
ReportDefinition_LocalAggregationProcedure_SELECT_FIRST 8
ReportDefinition_LocalAggregationProcedure_SELECT_MOST_COMMON 9
ReportDefinition_LocalAggregationProcedure_ReportDefinition_LocalAggregationProcedure_INT_MIN_SENTINEL_DO_NOT_USE_ std::numeric_limits<::int32_t>::min()
ReportDefinition_LocalAggregationProcedure_ReportDefinition_LocalAggregationProcedure_INT_MAX_SENTINEL_DO_NOT_USE_ std::numeric_limits<::int32_t>::max()

Defined at line 186 of file gen/third_party/cobalt/src/registry/report_definition.pb.h

enum ReportDefinition_PrivacyMechanism
Name Value
ReportDefinition_PrivacyMechanism_PRIVACY_MECHANISM_UNSPECIFIED 0
ReportDefinition_PrivacyMechanism_DE_IDENTIFICATION 1
ReportDefinition_PrivacyMechanism_SHUFFLED_DIFFERENTIAL_PRIVACY 2
ReportDefinition_PrivacyMechanism_ReportDefinition_PrivacyMechanism_INT_MIN_SENTINEL_DO_NOT_USE_ std::numeric_limits<::int32_t>::min()
ReportDefinition_PrivacyMechanism_ReportDefinition_PrivacyMechanism_INT_MAX_SENTINEL_DO_NOT_USE_ std::numeric_limits<::int32_t>::max()

Defined at line 217 of file gen/third_party/cobalt/src/registry/report_definition.pb.h

enum SystemProfileSelectionPolicy
Name Value
SYSTEM_PROFILE_SELECTION_POLICY_UNSET 0
SELECT_LAST 1
SELECT_FIRST 2
REPORT_ALL 3
SystemProfileSelectionPolicy_INT_MIN_SENTINEL_DO_NOT_USE_ std::numeric_limits<::int32_t>::min()
SystemProfileSelectionPolicy_INT_MAX_SENTINEL_DO_NOT_USE_ std::numeric_limits<::int32_t>::max()

Defined at line 241 of file gen/third_party/cobalt/src/registry/report_definition.pb.h

enum SystemProfileField
Name Value
OS 0
ARCH 1
BOARD_NAME 2
PRODUCT_NAME 3
SYSTEM_VERSION 4
APP_VERSION 10
CHANNEL 5
BUILD_TYPE 7
EXPERIMENT_IDS 9
COOKIE_BUCKET 12
SystemProfileField_INT_MIN_SENTINEL_DO_NOT_USE_ std::numeric_limits<::int32_t>::min()
SystemProfileField_INT_MAX_SENTINEL_DO_NOT_USE_ std::numeric_limits<::int32_t>::max()

Defined at line 266 of file gen/third_party/cobalt/src/registry/report_definition.pb.h

enum ReleaseStage
Name Value
RELEASE_STAGE_NOT_SET 0
DEBUG 10
FISHFOOD 20
DOGFOOD 40
OPEN_BETA 60
GA 99
ReleaseStage_INT_MIN_SENTINEL_DO_NOT_USE_ std::numeric_limits<::int32_t>::min()
ReleaseStage_INT_MAX_SENTINEL_DO_NOT_USE_ std::numeric_limits<::int32_t>::max()

Defined at line 297 of file gen/third_party/cobalt/src/registry/report_definition.pb.h

Records

Functions

  • std::string ErrorToString (fuchsia::metrics::Error error)

    Defined at line 14 of file ../../src/cobalt/bin/utils/error_utils.h

  • std::string Base64Decode (const std::string & b64)

    Base64 decode a string.

    Returns an empty string if decoding failed.

    Defined at line 16 of file ../../src/cobalt/bin/utils/base64.h

  • std::string Base64Encode (const std::string & raw)

    Base64 encode a string.

    Defined at line 28 of file ../../src/cobalt/bin/utils/base64.h

  • uint64_t Hash64WithSeed (const uint8_t * data, size_t len, uint64_t seed)

    Seeded 64 bits hash.

  • fpromise::result<void, fuchsia::metrics::Error> ToMetricsResult (const Status & s)

    Defined at line 18 of file ../../src/cobalt/bin/app/utils.cc

  • uint64_t Hash64WithSeed (const std::string & data, uint64_t seed)

    Seeded 64 bits hash.

  • std::string ReadPublicKeyPem (const std::string & pem_file_path)

    Reads the PEM file at the specified path and returns the contents as

    a string. CHECK fails if the file cannot be read.

    Defined at line 45 of file ../../src/cobalt/bin/app/utils.cc

  • std::ostream & operator<< (std::ostream & os, LogMetricMethod metric_method)

    Implementation of the stream operator for printing LogMetricMethods.

    Defined at line 34 of file ../../src/cobalt/bin/testing/log_metric_method.cc

  • std::string GetSystemVersion (const fuchsia::buildinfo::BuildInfo & build_info)

    Returns the concatenation of the product and platform versions using a double dash, i.e.

    product_version--platform_version. If the two versions are identical, no concatenation will

    occur.

    Note: Returns

    <version

    not specified> if either the product or platform version is unavailable.

    Defined at line 53 of file ../../src/cobalt/bin/app/utils.cc

  • template <typename T>
    const std::string & WindowSize_Name (T value)

    Defined at line 74 of file gen/third_party/cobalt/src/registry/window_size.pb.h

  • template <typename T>
    const std::string & EncryptedMessage_EncryptionScheme_Name (T value)

    Defined at line 78 of file gen/third_party/cobalt/src/pb/encrypted_message.pb.h

  • template <typename T>
    const std::string & SystemProfile_OS_Name (T value)

    Defined at line 79 of file gen/third_party/cobalt/src/pb/common.pb.h

  • template <typename T>
    const std::string & MetricDefinition_StructField_FieldType_Name (T value)

    Defined at line 91 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h

  • template <typename T>
    const std::string & ReportDefinition_AggregateDefinition_AggregationFunction_Name (T value)

    Defined at line 99 of file gen/third_party/cobalt/src/registry/report_definition.pb.h

  • template <typename T>
    const std::string & SystemProfile_ARCH_Name (T value)

    Defined at line 106 of file gen/third_party/cobalt/src/pb/common.pb.h

  • template <typename T>
    const std::string & MetricDefinition_MetricType_Name (T value)

    Defined at line 118 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h

  • template <typename T>
    const std::string & ReportDefinition_ShuffledDifferentialPrivacyConfig_DevicePrivacyDependencySet_Name (T value)

    Defined at line 122 of file gen/third_party/cobalt/src/registry/report_definition.pb.h

  • template <typename T>
    const std::string & SystemProfile_BuildType_Name (T value)

    Defined at line 132 of file gen/third_party/cobalt/src/pb/common.pb.h

  • template <typename T>
    const std::string & MetricDefinition_TimeZonePolicy_Name (T value)

    Defined at line 142 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h

  • template <typename T>
    const std::string & ReportDefinition_ReportType_Name (T value)

    Defined at line 155 of file gen/third_party/cobalt/src/registry/report_definition.pb.h

  • template <typename T>
    const std::string & MetricUnits_Name (T value)

    Defined at line 174 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h

  • template <typename T>
    const std::string & ReportDefinition_ReportingInterval_Name (T value)

    Defined at line 179 of file gen/third_party/cobalt/src/registry/report_definition.pb.h

  • template <typename T>
    const std::string & MetricSemantics_Name (T value)

    Defined at line 204 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h

  • template <typename T>
    const std::string & ReportDefinition_LocalAggregationProcedure_Name (T value)

    Defined at line 210 of file gen/third_party/cobalt/src/registry/report_definition.pb.h

  • template <typename T>
    const std::string & ReportDefinition_PrivacyMechanism_Name (T value)

    Defined at line 234 of file gen/third_party/cobalt/src/registry/report_definition.pb.h

  • template <typename T>
    const std::string & ReleaseStage_Name (T value)

    Defined at line 317 of file gen/third_party/cobalt/src/registry/report_definition.pb.h

  • std::string StatusCodeToString (StatusCode code)

    Maps a StatusCode to a human-readable string.

  • template <typename T>
    const std::string & SystemProfileSelectionPolicy_Name (T value)

    Defined at line 259 of file gen/third_party/cobalt/src/registry/report_definition.pb.h

  • template <typename T>
    const std::string & SystemProfileField_Name (T value)

    Defined at line 290 of file gen/third_party/cobalt/src/registry/report_definition.pb.h

  • size_t TruncatedDigest (const uint8_t * data, size_t len, uint64_t seed, size_t max)

    Returns a hash value for data less than max.

  • size_t TruncatedDigest (const std::string & data, uint64_t seed, size_t max)

    Returns a hash value for data less than max.

  • std::ostream & operator<< (std::ostream & os, StatusCode code)

    Implementation of the steam operator for printing StatusCodes.

  • std::optional<StatusCode> ErrnoToStatusCode (int error_number)

    Tries to map a unix errno to a StatusCode.

    If the errno is 0, this will return StatusCode::OK. If there is no known mapping for the provided

    errno, std::nullopt will be returned.

  • std::ostream & operator<< (std::ostream & os, const Status & status)

    Implementation of the steam operator for printing StatusCodes.

  • bool WindowSize_IsValid (int value)
  • bool EncryptedMessage_EncryptionScheme_IsValid (int value)
  • bool SystemProfile_OS_IsValid (int value)
  • const std::string & WindowSize_Name (WindowSize value)
  • const std::string & EncryptedMessage_EncryptionScheme_Name (EncryptedMessage_EncryptionScheme value)
  • const std::string & SystemProfile_OS_Name (SystemProfile_OS value)
  • bool WindowSize_Parse (absl::string_view name, WindowSize * value)
  • bool EncryptedMessage_EncryptionScheme_Parse (absl::string_view name, EncryptedMessage_EncryptionScheme * value)
  • bool MetricDefinition_StructField_FieldType_IsValid (int value)
  • bool SystemProfile_OS_Parse (absl::string_view name, SystemProfile_OS * value)
  • const std::string & MetricDefinition_StructField_FieldType_Name (MetricDefinition_StructField_FieldType value)
  • bool ReportDefinition_AggregateDefinition_AggregationFunction_IsValid (int value)
  • bool MetricDefinition_StructField_FieldType_Parse (absl::string_view name, MetricDefinition_StructField_FieldType * value)
  • const std::string & ReportDefinition_AggregateDefinition_AggregationFunction_Name (ReportDefinition_AggregateDefinition_AggregationFunction value)
  • bool SystemProfile_ARCH_IsValid (int value)
  • const std::string & SystemProfile_ARCH_Name (SystemProfile_ARCH value)
  • bool ReportDefinition_AggregateDefinition_AggregationFunction_Parse (absl::string_view name, ReportDefinition_AggregateDefinition_AggregationFunction * value)
  • bool MetricDefinition_MetricType_IsValid (int value)
  • bool SystemProfile_ARCH_Parse (absl::string_view name, SystemProfile_ARCH * value)
  • bool ReportDefinition_ShuffledDifferentialPrivacyConfig_DevicePrivacyDependencySet_IsValid (int value)
  • const std::string & MetricDefinition_MetricType_Name (MetricDefinition_MetricType value)
  • const std::string & ReportDefinition_ShuffledDifferentialPrivacyConfig_DevicePrivacyDependencySet_Name (ReportDefinition_ShuffledDifferentialPrivacyConfig_DevicePrivacyDependencySet value)
  • bool MetricDefinition_MetricType_Parse (absl::string_view name, MetricDefinition_MetricType * value)
  • bool SystemProfile_BuildType_IsValid (int value)
  • bool ReportDefinition_ShuffledDifferentialPrivacyConfig_DevicePrivacyDependencySet_Parse (absl::string_view name, ReportDefinition_ShuffledDifferentialPrivacyConfig_DevicePrivacyDependencySet * value)
  • const std::string & SystemProfile_BuildType_Name (SystemProfile_BuildType value)
  • bool MetricDefinition_TimeZonePolicy_IsValid (int value)
  • bool SystemProfile_BuildType_Parse (absl::string_view name, SystemProfile_BuildType * value)
  • const std::string & MetricDefinition_TimeZonePolicy_Name (MetricDefinition_TimeZonePolicy value)
  • bool MetricDefinition_TimeZonePolicy_Parse (absl::string_view name, MetricDefinition_TimeZonePolicy * value)
  • bool ReportDefinition_ReportType_IsValid (int value)
  • std::string ReadGlobalMetricsRegistryBytes (const std::string & global_metrics_registry_path)
  • const std::string & ReportDefinition_ReportType_Name (ReportDefinition_ReportType value)
  • bool ReportDefinition_ReportType_Parse (absl::string_view name, ReportDefinition_ReportType * value)
  • bool MetricUnits_IsValid (int value)
  • const std::string & MetricUnits_Name (MetricUnits value)
  • bool ReportDefinition_ReportingInterval_IsValid (int value)
  • const std::string & ReportDefinition_ReportingInterval_Name (ReportDefinition_ReportingInterval value)
  • bool MetricUnits_Parse (absl::string_view name, MetricUnits * value)
  • bool ReportDefinition_ReportingInterval_Parse (absl::string_view name, ReportDefinition_ReportingInterval * value)
  • bool MetricSemantics_IsValid (int value)
  • const std::string & MetricSemantics_Name (MetricSemantics value)
  • bool ReportDefinition_LocalAggregationProcedure_IsValid (int value)
  • const std::string & ReportDefinition_LocalAggregationProcedure_Name (ReportDefinition_LocalAggregationProcedure value)
  • bool MetricSemantics_Parse (absl::string_view name, MetricSemantics * value)
  • bool ReportDefinition_LocalAggregationProcedure_Parse (absl::string_view name, ReportDefinition_LocalAggregationProcedure * value)
  • bool ReportDefinition_PrivacyMechanism_IsValid (int value)
  • const std::string & ReportDefinition_PrivacyMechanism_Name (ReportDefinition_PrivacyMechanism value)
  • bool ReportDefinition_PrivacyMechanism_Parse (absl::string_view name, ReportDefinition_PrivacyMechanism * value)
  • bool SystemProfileSelectionPolicy_IsValid (int value)
  • const std::string & SystemProfileSelectionPolicy_Name (SystemProfileSelectionPolicy value)
  • bool SystemProfileSelectionPolicy_Parse (absl::string_view name, SystemProfileSelectionPolicy * value)
  • bool SystemProfileField_IsValid (int value)
  • const std::string & SystemProfileField_Name (SystemProfileField value)
  • bool SystemProfileField_Parse (absl::string_view name, SystemProfileField * value)
  • bool ReleaseStage_IsValid (int value)
  • const std::string & ReleaseStage_Name (ReleaseStage value)
  • bool ReleaseStage_Parse (absl::string_view name, ReleaseStage * value)
  • void swap (Project & a, Project & b)

    Defined at line 118 of file gen/third_party/cobalt/src/registry/project.pb.h

  • void swap (Envelope & a, Envelope & b)

    Defined at line 120 of file gen/third_party/cobalt/src/pb/envelope.pb.h

  • void swap (ObservationMetadata & a, ObservationMetadata & b)

    Defined at line 123 of file gen/third_party/cobalt/src/pb/observation_batch.pb.h

  • void swap (ProjectConfigFile & a, ProjectConfigFile & b)

    Defined at line 128 of file gen/third_party/cobalt/src/registry/cobalt_registry.pb.h

  • void swap (StringEvent & a, StringEvent & b)

    Defined at line 131 of file gen/third_party/cobalt/src/pb/event.pb.h

  • void swap (EncryptedMessage & a, EncryptedMessage & b)

    Defined at line 143 of file gen/third_party/cobalt/src/pb/encrypted_message.pb.h

  • void swap (SumAndCountObservation_SumAndCount & a, SumAndCountObservation_SumAndCount & b)

    Defined at line 157 of file gen/third_party/cobalt/src/pb/observation.pb.h

  • void swap (SystemProfile & a, SystemProfile & b)

    Defined at line 197 of file gen/third_party/cobalt/src/pb/common.pb.h

  • void swap (MetricDefinition_Metadata & a, MetricDefinition_Metadata & b)

    Defined at line 275 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h

  • void swap (ProjectConfig & a, ProjectConfig & b)

    Defined at line 334 of file gen/third_party/cobalt/src/registry/cobalt_registry.pb.h

  • void swap (OccurrenceEvent & a, OccurrenceEvent & b)

    Defined at line 336 of file gen/third_party/cobalt/src/pb/event.pb.h

  • void swap (StructObservation_Aggregate_AggregateField & a, StructObservation_Aggregate_AggregateField & b)

    Defined at line 374 of file gen/third_party/cobalt/src/pb/observation.pb.h

  • void swap (ObservationBatch & a, ObservationBatch & b)

    Defined at line 379 of file gen/third_party/cobalt/src/pb/observation_batch.pb.h

  • void swap (StringSketchParameters & a, StringSketchParameters & b)

    Defined at line 382 of file gen/third_party/cobalt/src/registry/report_definition.pb.h

  • void swap (MetricDefinition_StructField & a, MetricDefinition_StructField & b)

    Defined at line 483 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h

  • void swap (IntegerEvent & a, IntegerEvent & b)

    Defined at line 535 of file gen/third_party/cobalt/src/pb/event.pb.h

  • void swap (ReportDefinition_ShuffledDifferentialPrivacyConfig & a, ReportDefinition_ShuffledDifferentialPrivacyConfig & b)

    Defined at line 572 of file gen/third_party/cobalt/src/registry/report_definition.pb.h

  • void swap (ReportParticipationObservation & a, ReportParticipationObservation & b)

    Defined at line 603 of file gen/third_party/cobalt/src/pb/observation.pb.h

  • void swap (CustomerConfig & a, CustomerConfig & b)

    Defined at line 630 of file gen/third_party/cobalt/src/registry/cobalt_registry.pb.h

  • void swap (IntegerHistogramEvent & a, IntegerHistogramEvent & b)

    Defined at line 734 of file gen/third_party/cobalt/src/pb/event.pb.h

  • void swap (MetricDefinition_MetricDimension & a, MetricDefinition_MetricDimension & b)

    Defined at line 744 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h

  • void swap (PrivateIndexObservation & a, PrivateIndexObservation & b)

    Defined at line 767 of file gen/third_party/cobalt/src/pb/observation.pb.h

  • void swap (ReportDefinition_AggregateDefinition & a, ReportDefinition_AggregateDefinition & b)

    Defined at line 826 of file gen/third_party/cobalt/src/registry/report_definition.pb.h

  • void swap (CobaltRegistry & a, CobaltRegistry & b)

    Defined at line 890 of file gen/third_party/cobalt/src/registry/cobalt_registry.pb.h

  • void swap (IntegerObservation_Value & a, IntegerObservation_Value & b)

    Defined at line 945 of file gen/third_party/cobalt/src/pb/observation.pb.h

  • void swap (Event & a, Event & b)

    Defined at line 947 of file gen/third_party/cobalt/src/pb/event.pb.h

  • void swap (MetricDefinition & a, MetricDefinition & b)

    Defined at line 974 of file gen/third_party/cobalt/src/registry/metric_definition.pb.h

  • void swap (LinearIntegerBuckets & a, LinearIntegerBuckets & b)

    Defined at line 1125 of file gen/third_party/cobalt/src/registry/report_definition.pb.h

  • void swap (IndexHistogram & a, IndexHistogram & b)

    Defined at line 1144 of file gen/third_party/cobalt/src/pb/observation.pb.h

  • void swap (ExponentialIntegerBuckets & a, ExponentialIntegerBuckets & b)

    Defined at line 1327 of file gen/third_party/cobalt/src/registry/report_definition.pb.h

  • void swap (HistogramBucket & a, HistogramBucket & b)

    Defined at line 1373 of file gen/third_party/cobalt/src/pb/observation.pb.h

  • void swap (IntegerBuckets & a, IntegerBuckets & b)

    Defined at line 1546 of file gen/third_party/cobalt/src/registry/report_definition.pb.h

  • void swap (SumAndCountObservation & a, SumAndCountObservation & b)

    Defined at line 1563 of file gen/third_party/cobalt/src/pb/observation.pb.h

  • void swap (StructObservation_Aggregate & a, StructObservation_Aggregate & b)

    Defined at line 1749 of file gen/third_party/cobalt/src/pb/observation.pb.h

  • void swap (ReportDefinition & a, ReportDefinition & b)

    Defined at line 1781 of file gen/third_party/cobalt/src/registry/report_definition.pb.h

  • void swap (StringHistogramObservation & a, StringHistogramObservation & b)

    Defined at line 1935 of file gen/third_party/cobalt/src/pb/observation.pb.h

  • void swap (IntegerObservation & a, IntegerObservation & b)

    Defined at line 2168 of file gen/third_party/cobalt/src/pb/observation.pb.h

  • void swap (IndexHistogramObservation & a, IndexHistogramObservation & b)

    Defined at line 2354 of file gen/third_party/cobalt/src/pb/observation.pb.h

  • void swap (StructObservation & a, StructObservation & b)

    Defined at line 2539 of file gen/third_party/cobalt/src/pb/observation.pb.h

  • void swap (Observation & aObservation & b)

    Defined at line 2759 of file gen/third_party/cobalt/src/pb/observation.pb.h

Variables

const uint32_t[] EncryptedMessage_EncryptionScheme_internal_data_
const uint32_t[] MetricDefinition_MetricType_internal_data_
const uint32_t[] MetricDefinition_StructField_FieldType_internal_data_
const uint32_t[] MetricDefinition_TimeZonePolicy_internal_data_
const uint32_t[] MetricSemantics_internal_data_
const uint32_t[] MetricUnits_internal_data_
const uint32_t[] ReleaseStage_internal_data_
const uint32_t[] ReportDefinition_AggregateDefinition_AggregationFunction_internal_data_
const uint32_t[] ReportDefinition_LocalAggregationProcedure_internal_data_
const uint32_t[] ReportDefinition_PrivacyMechanism_internal_data_
const uint32_t[] ReportDefinition_ReportType_internal_data_
const uint32_t[] ReportDefinition_ReportingInterval_internal_data_
const uint32_t[] ReportDefinition_ShuffledDifferentialPrivacyConfig_DevicePrivacyDependencySet_internal_data_
const uint32_t[] SystemProfileField_internal_data_
const uint32_t[] SystemProfileSelectionPolicy_internal_data_
const uint32_t[] SystemProfile_ARCH_internal_data_
const uint32_t[] SystemProfile_BuildType_internal_data_
const uint32_t[] SystemProfile_OS_internal_data_
const uint32_t[] WindowSize_internal_data_
CobaltRegistryDefaultTypeInternal _CobaltRegistry_default_instance_
CustomerConfigDefaultTypeInternal _CustomerConfig_default_instance_
EncryptedMessageDefaultTypeInternal _EncryptedMessage_default_instance_
EnvelopeDefaultTypeInternal _Envelope_default_instance_
EventDefaultTypeInternal _Event_default_instance_
ExponentialIntegerBucketsDefaultTypeInternal _ExponentialIntegerBuckets_default_instance_
HistogramBucketDefaultTypeInternal _HistogramBucket_default_instance_
IndexHistogramObservationDefaultTypeInternal _IndexHistogramObservation_default_instance_
IndexHistogramDefaultTypeInternal _IndexHistogram_default_instance_
IntegerBucketsDefaultTypeInternal _IntegerBuckets_default_instance_
IntegerEventDefaultTypeInternal _IntegerEvent_default_instance_
IntegerHistogramEventDefaultTypeInternal _IntegerHistogramEvent_default_instance_
IntegerObservation_ValueDefaultTypeInternal _IntegerObservation_Value_default_instance_
IntegerObservationDefaultTypeInternal _IntegerObservation_default_instance_
LinearIntegerBucketsDefaultTypeInternal _LinearIntegerBuckets_default_instance_
MetricDefinition_MetadataDefaultTypeInternal _MetricDefinition_Metadata_default_instance_
MetricDefinition_MetricDimensionDefaultTypeInternal _MetricDefinition_MetricDimension_default_instance_
MetricDefinition_StructFieldDefaultTypeInternal _MetricDefinition_StructField_default_instance_
MetricDefinitionDefaultTypeInternal _MetricDefinition_default_instance_
ObservationBatchDefaultTypeInternal _ObservationBatch_default_instance_
ObservationMetadataDefaultTypeInternal _ObservationMetadata_default_instance_
ObservationDefaultTypeInternal _Observation_default_instance_
OccurrenceEventDefaultTypeInternal _OccurrenceEvent_default_instance_
PrivateIndexObservationDefaultTypeInternal _PrivateIndexObservation_default_instance_
ProjectConfigFileDefaultTypeInternal _ProjectConfigFile_default_instance_
ProjectConfigDefaultTypeInternal _ProjectConfig_default_instance_
ProjectDefaultTypeInternal _Project_default_instance_
ReportDefinition_AggregateDefinitionDefaultTypeInternal _ReportDefinition_AggregateDefinition_default_instance_
ReportDefinition_ShuffledDifferentialPrivacyConfigDefaultTypeInternal _ReportDefinition_ShuffledDifferentialPrivacyConfig_default_instance_
ReportDefinitionDefaultTypeInternal _ReportDefinition_default_instance_
ReportParticipationObservationDefaultTypeInternal _ReportParticipationObservation_default_instance_
StringEventDefaultTypeInternal _StringEvent_default_instance_
StringHistogramObservationDefaultTypeInternal _StringHistogramObservation_default_instance_
StringSketchParametersDefaultTypeInternal _StringSketchParameters_default_instance_
StructObservation_Aggregate_AggregateFieldDefaultTypeInternal _StructObservation_Aggregate_AggregateField_default_instance_
StructObservation_AggregateDefaultTypeInternal _StructObservation_Aggregate_default_instance_
StructObservationDefaultTypeInternal _StructObservation_default_instance_
SumAndCountObservation_SumAndCountDefaultTypeInternal _SumAndCountObservation_SumAndCount_default_instance_
SumAndCountObservationDefaultTypeInternal _SumAndCountObservation_default_instance_
SystemProfileDefaultTypeInternal _SystemProfile_default_instance_