Lines Matching refs:FieldValue
26 void writeValueToProto(metadata::FieldValue* metadataFieldValue, const Value& value) { in writeValueToProto()
56 for (const FieldValue& fieldValue : metricKey.getDimensionKeyInWhat().getValues()) { in writeMetricDimensionKeyToMetadataDimensionKey()
57 metadata::FieldValue* metadataFieldValue = metadataMetricKey->add_dimension_key_in_what(); in writeMetricDimensionKeyToMetadataDimensionKey()
64 for (const FieldValue& fieldValue : metricKey.getStateValuesKey().getValues()) { in writeMetricDimensionKeyToMetadataDimensionKey()
65 metadata::FieldValue* metadataFieldValue = metadataMetricKey->add_state_values_key(); in writeMetricDimensionKeyToMetadataDimensionKey()
74 const RepeatedPtrField<metadata::FieldValue>& repeatedFieldValueList, in writeFieldValuesFromMetadata()
75 std::vector<FieldValue>* fieldValues) { in writeFieldValuesFromMetadata()
76 for (const metadata::FieldValue& metadataFieldValue : repeatedFieldValueList) { in writeFieldValuesFromMetadata()
80 case metadata::FieldValue::ValueCase::kValueInt: in writeFieldValuesFromMetadata()
83 case metadata::FieldValue::ValueCase::kValueLong: in writeFieldValuesFromMetadata()
86 case metadata::FieldValue::ValueCase::kValueFloat: in writeFieldValuesFromMetadata()
89 case metadata::FieldValue::ValueCase::kValueDouble: in writeFieldValuesFromMetadata()
92 case metadata::FieldValue::ValueCase::kValueStr: in writeFieldValuesFromMetadata()
95 case metadata::FieldValue::ValueCase::kValueStorage: in writeFieldValuesFromMetadata()
101 FieldValue fieldValue(field, value); in writeFieldValuesFromMetadata()
108 std::vector<FieldValue> dimKeyInWhatFieldValues; in loadMetricDimensionKeyFromProto()
111 std::vector<FieldValue> stateValuesFieldValues; in loadMetricDimensionKeyFromProto()